Test Info

Issuerhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest
Profile[]
Test IDOP-UserInfo-Body
Test descriptionUserInfo Endpoint access with POST and bearer body
Timestamp2020-07-09T09:25:10Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
verify-id_token-userinfo-same-sub: status=INFORMATION, message=Sub identifier differs between the ID Token and the UserInfo [Verify that the sub claim in the ID Token is the same as is provider in the userinfo]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 1 --- Discovery -->-->
0provider_config
kwargs:{'issuer': 'https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest'}
0http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/.well-known/openid-configuration status_code:200
0ProviderConfigurationResponse
{
    "acr_values_supported": [
        "loginradius:nist:level:1:re-auth"
    ],
    "authorization_endpoint": "https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize",
    "backchannel_logout_session_supported": false,
    "backchannel_logout_supported": false,
    "claims_parameter_supported": false,
    "claims_supported": [
        "middle_name",
        "phone_number_verified",
        "name",
        "LastName",
        "website",
        "gender",
        "locale",
        "auth_time",
        "Uid",
        "Favicon",
        "birthdate",
        "acr",
        "FirstName",
        "CustomFields.customerid",
        "email_verified",
        "phone_number",
        "profile",
        "email",
        "address",
        "updated_at",
        "given_name",
        "nickname",
        "preferred_username",
        "picture",
        "zoneinfo",
        "Country",
        "family_name",
        "UserName"
    ],
    "frontchannel_logout_session_supported": false,
    "frontchannel_logout_supported": false,
    "grant_types_supported": [
        "authorization_code",
        "refresh_token"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256"
    ],
    "issuer": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jwks_uri": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/jwks",
    "request_parameter_supported": false,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "response_modes_supported": [
        "query",
        "form_post",
        "fragment"
    ],
    "response_types_supported": [
        "code",
        "token",
        "id_token",
        "code token",
        "code id_token",
        "token id_token",
        "code token id_token"
    ],
    "revocation_endpoint": "https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/revoke",
    "scopes_supported": [
        "openid",
        "email",
        "phone",
        "profile",
        "address"
    ],
    "subject_types_supported": [
        "public"
    ],
    "token_endpoint": "https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token",
    "token_endpoint_auth_methods_supported": [
        "client_secret_post",
        "client_secret_basic"
    ],
    "userinfo_endpoint": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo",
    "version": "3.0"
}
0phase<--<-- 2 --- Registration -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "112563f6-1480-40b8-8e28-e072ca212c82",
    "nonce": "whgC9AL9JdrhU1Ra",
    "redirect_uri": "https://op.certification.openid.net:62346/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "6GrqcUTgqlots40y"
}
0redirect urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=6GrqcUTgqlots40y&nonce=whgC9AL9JdrhU1Ra&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A62346%2Fauthz_cb&client_id=112563f6-1480-40b8-8e28-e072ca212c82
0redirecthttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=6GrqcUTgqlots40y&nonce=whgC9AL9JdrhU1Ra&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A62346%2Fauthz_cb&client_id=112563f6-1480-40b8-8e28-e072ca212c82
12http args{}
12responseURL with fragment
12responsestate=6GrqcUTgqlots40y&code=05596d9151f7670327093540a2922a9e%3A98ecc595aa79a104bdf34be5cecd6865253471a9e0e2eb00389b4fa8d1fab509048ce383b6ae3b116bd93834c83d0e48b9396a42dbb0fbcf64e4e3b42af6b898931e7458cafa8c6b63f5006d0d32e20c47c3b9be40c1cd8c10cadd72cc0b08eed6e4a2573567474b93ec1d4a95e7ec21&access_token=457d9ee8-e4e2-44c3-8d7d-4cf2aeb8a463&token_type=Bearer&expires_in=895
12response{'state': '6GrqcUTgqlots40y', 'code': '05596d9151f7670327093540a2922a9e:98ecc595aa79a104bdf34be5cecd6865253471a9e0e2eb00389b4fa8d1fab509048ce383b6ae3b116bd93834c83d0e48b9396a42dbb0fbcf64e4e3b42af6b898931e7458cafa8c6b63f5006d0d32e20c47c3b9be40c1cd8c10cadd72cc0b08eed6e4a2573567474b93ec1d4a95e7ec21', 'access_token': '457d9ee8-e4e2-44c3-8d7d-4cf2aeb8a463', 'token_type': 'Bearer', 'expires_in': 895}
12AuthorizationResponse
{
    "access_token": "457d9ee8-e4e2-44c3-8d7d-4cf2aeb8a463",
    "code": "05596d9151f7670327093540a2922a9e:98ecc595aa79a104bdf34be5cecd6865253471a9e0e2eb00389b4fa8d1fab509048ce383b6ae3b116bd93834c83d0e48b9396a42dbb0fbcf64e4e3b42af6b898931e7458cafa8c6b63f5006d0d32e20c47c3b9be40c1cd8c10cadd72cc0b08eed6e4a2573567474b93ec1d4a95e7ec21",
    "expires_in": 895,
    "state": "6GrqcUTgqlots40y",
    "token_type": "Bearer"
}
12phase<--<-- 4 --- AccessToken -->-->
12requestop_args: {'state': '6GrqcUTgqlots40y'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:62346/authz_cb'}
12do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:62346/authz_cb', 'code': '05596d9151f7670327093540a2922a9e:98ecc595aa79a104bdf34be5cecd6865253471a9e0e2eb00389b4fa8d1fab509048ce383b6ae3b116bd93834c83d0e48b9396a42dbb0fbcf64e4e3b42af6b898931e7458cafa8c6b63f5006d0d32e20c47c3b9be40c1cd8c10cadd72cc0b08eed6e4a2573567474b93ec1d4a95e7ec21', 'state': '6GrqcUTgqlots40y', 'grant_type': 'authorization_code', 'client_id': '112563f6-1480-40b8-8e28-e072ca212c82'}, 'state': '6GrqcUTgqlots40y', 'authn_method': 'client_secret_basic'}
12AccessTokenRequest
{
    "code": "05596d9151f7670327093540a2922a9e:98ecc595aa79a104bdf34be5cecd6865253471a9e0e2eb00389b4fa8d1fab509048ce383b6ae3b116bd93834c83d0e48b9396a42dbb0fbcf64e4e3b42af6b898931e7458cafa8c6b63f5006d0d32e20c47c3b9be40c1cd8c10cadd72cc0b08eed6e4a2573567474b93ec1d4a95e7ec21",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:62346/authz_cb",
    "state": "6GrqcUTgqlots40y"
}
12request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token
12request_http_args{'headers': {'Authorization': 'Basic MTEyNTYzZjYtMTQ4MC00MGI4LThlMjgtZTA3MmNhMjEyYzgyOjc4ZDNkYmUzLTEwZDEtNDk3Yi05MzU3LThlZWQ0NTkzMzYzZA==', 'Content-Type': 'application/x-www-form-urlencoded'}}
12requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A62346%2Fauthz_cb&code=05596d9151f7670327093540a2922a9e%3A98ecc595aa79a104bdf34be5cecd6865253471a9e0e2eb00389b4fa8d1fab509048ce383b6ae3b116bd93834c83d0e48b9396a42dbb0fbcf64e4e3b42af6b898931e7458cafa8c6b63f5006d0d32e20c47c3b9be40c1cd8c10cadd72cc0b08eed6e4a2573567474b93ec1d4a95e7ec21&state=6GrqcUTgqlots40y
12http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token status_code:200
12response{'access_token': '457d9ee8-e4e2-44c3-8d7d-4cf2aeb8a463', 'token_type': 'Bearer', 'refresh_token': '31e1c394-f9b1-4038-b1c6-6b1158e43449', 'expires_in': 893, 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzI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fdmVyaWZpZWQiOnRydWUsInBpY3R1cmUiOm51bGwsInByZWZlcnJlZF91c2VybmFtZSI6ImNsb3Vkc3NvdGVzdCIsInByb2ZpbGUiOm51bGwsInN1YiI6IjBiN2Y5NDViOGM1ZjRhMzZhMzViZjQ5ZjcyMzliZmE0IiwidWlkIjoiMGI3Zjk0NWI4YzVmNGEzNmEzNWJmNDlmNzIzOWJmYTQiLCJ1cGRhdGVkX2F0IjoxNTYzODg1MTA5LCJ1c2VybmFtZSI6ImNsb3Vkc3NvdGVzdCIsIndlYnNpdGUiOm51bGwsInpvbmVpbmZvIjpudWxsfQ.e_f8EBNWrUyq98Zay_oBvmrvKsetV_IPLNIcoqZimDtjDVqOdct8Jx9icNQUfM8KiPF2yuIkcl1_D4enKN96mRv9X6WGqeQqmlx6kr_bucKlE6-9tsEPdk0f1QWUUZfN9uwez630CWxS7YCkWisHhJ-nl_bsVLX1BQ9T8v3UMjMm-s28g3EGBHMIivN3uVq3H6E_I27EslSHgaqCpZj6MMcL5bWa-HtOik2yMHGpbPnyrSLpSnLH8wjkGwyxqUVR3hb70DmiQSdM1INV3JEDdENYwz4Iw2nXqRhp4aguZNAqyuufzeJ46IGcjJ02m5w8Ih1ThlwpfclkK5veBf0bSg'}
12AccessTokenResponse
{
    "access_token": "457d9ee8-e4e2-44c3-8d7d-4cf2aeb8a463",
    "expires_in": 893,
    "id_token": {
        "address": {
            "country": null,
            "locality": null,
            "postal_code": null,
            "region": null,
            "street_address": null
        },
        "at_hash": "6hZsWwwGcSzg6UaIHpdsWQ",
        "aud": [
            "112563f6-1480-40b8-8e28-e072ca212c82"
        ],
        "auth_time": 1594286704,
        "birthdate": "1987-07-08",
        "c_hash": "OjBt4xUT4TFjKUISt5awJw",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "email_verified": true,
        "exp": 1594287310,
        "family_name": "tesrt",
        "favicon1": null,
        "fname": "cloudssot",
        "gender": null,
        "given_name": "cloudssot",
        "iat": 1594286710,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "202a573b-ed34-4451-b44e-dbd9d6e8adac",
        "lname": "tesrt",
        "locale": null,
        "middle_name": null,
        "name": "cloudssot tesrt",
        "nbf": 1594286710,
        "nickname": null,
        "nonce": "whgC9AL9JdrhU1Ra",
        "phone_number": "+19029095714",
        "phone_number_verified": true,
        "picture": null,
        "preferred_username": "cloudssotest",
        "profile": null,
        "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "updated_at": 1563885109,
        "username": "cloudssotest",
        "website": null,
        "zoneinfo": null
    },
    "refresh_token": "31e1c394-f9b1-4038-b1c6-6b1158e43449",
    "token_type": "Bearer"
}
12jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
12phase<--<-- 5 --- UserInfo -->-->
12do_user_info_request
kwargs:{'state': '6GrqcUTgqlots40y', 'method': 'POST', 'authn_method': 'token_in_message_body'}
12request{'body': 'access_token=457d9ee8-e4e2-44c3-8d7d-4cf2aeb8a463'}
12request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo
12request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
12http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo status_code:200
12OpenIDSchema
{
    "address": {
        "country": null,
        "locality": null,
        "postal_code": null,
        "region": null,
        "street_address": null
    },
    "aud": "112563f6-1480-40b8-8e28-e072ca212c82",
    "birthdate": "1987-07-08",
    "country": null,
    "email": {
        "Type": "Primary",
        "Value": "cloudssotest@mailazy.com"
    },
    "email_verified": true,
    "exp": 1594287310,
    "family_name": "tesrt",
    "favicon1": null,
    "fname": "cloudssot",
    "gender": null,
    "given_name": "cloudssot",
    "iat": 1594286710,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "b3190e3a-18a7-4c5c-a030-92af8fa04c6f",
    "lname": "tesrt",
    "locale": null,
    "middle_name": null,
    "name": "cloudssot tesrt",
    "nbf": 1594286710,
    "nickname": null,
    "nonce": "whgC9AL9JdrhU1Ra",
    "phone_number": "+19029095714",
    "phone_number_verified": true,
    "picture": null,
    "preferred_username": "cloudssotest",
    "profile": null,
    "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "updated_at": 1563885109,
    "username": "cloudssotest",
    "website": null,
    "zoneinfo": null
}
12OpenIDSchema
{
    "address": {
        "country": null,
        "locality": null,
        "postal_code": null,
        "region": null,
        "street_address": null
    },
    "aud": "112563f6-1480-40b8-8e28-e072ca212c82",
    "birthdate": "1987-07-08",
    "country": null,
    "email": {
        "Type": "Primary",
        "Value": "cloudssotest@mailazy.com"
    },
    "email_verified": true,
    "exp": 1594287310,
    "family_name": "tesrt",
    "favicon1": null,
    "fname": "cloudssot",
    "gender": null,
    "given_name": "cloudssot",
    "iat": 1594286710,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "b3190e3a-18a7-4c5c-a030-92af8fa04c6f",
    "lname": "tesrt",
    "locale": null,
    "middle_name": null,
    "name": "cloudssot tesrt",
    "nbf": 1594286710,
    "nickname": null,
    "nonce": "whgC9AL9JdrhU1Ra",
    "phone_number": "+19029095714",
    "phone_number_verified": true,
    "picture": null,
    "preferred_username": "cloudssotest",
    "profile": null,
    "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "updated_at": 1563885109,
    "username": "cloudssotest",
    "website": null,
    "zoneinfo": null
}
12jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
12phase<--<-- 6 --- Done -->-->
12end
12assertionVerifyResponse
12conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
12assertionVerifyIDTokenUserInfoSubSame
12conditionverify-id_token-userinfo-same-sub: status=INFORMATION, message=Sub identifier differs between the ID Token and the UserInfo [Verify that the sub claim in the ID Token is the same as is provider in the userinfo]
12conditionDone: status=OK

Result

PASSED