Test Info

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

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": "0NdHRqhul1WMv6VD",
    "redirect_uri": "https://op.certification.openid.net:62346/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "0KuvTFpZU7osXjUl"
}
0redirect urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=0KuvTFpZU7osXjUl&nonce=0NdHRqhul1WMv6VD&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=0KuvTFpZU7osXjUl&nonce=0NdHRqhul1WMv6VD&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=0KuvTFpZU7osXjUl&code=2973c527d0328381a27e1edb709bd4c0%3A96148635eb24702398b4bc95a507d831a213e3284bfab604491d5bee41f3c96c89db08ebb8d6d0a88761d22c44059e6972afbd04364ba4dc9c6ac700cb1e6bc8ecbe0212d16da79d8d1975f3c8a9c5805148dc93a9a5f886289b4d7c0cfc952e5a9e5c504afed40f4d412cc134016595&access_token=80519e9c-1668-436e-b4f9-cd2dd141bd9e&token_type=Bearer&expires_in=895
12response{'state': '0KuvTFpZU7osXjUl', 'code': '2973c527d0328381a27e1edb709bd4c0:96148635eb24702398b4bc95a507d831a213e3284bfab604491d5bee41f3c96c89db08ebb8d6d0a88761d22c44059e6972afbd04364ba4dc9c6ac700cb1e6bc8ecbe0212d16da79d8d1975f3c8a9c5805148dc93a9a5f886289b4d7c0cfc952e5a9e5c504afed40f4d412cc134016595', 'access_token': '80519e9c-1668-436e-b4f9-cd2dd141bd9e', 'token_type': 'Bearer', 'expires_in': 895}
12AuthorizationResponse
{
    "access_token": "80519e9c-1668-436e-b4f9-cd2dd141bd9e",
    "code": "2973c527d0328381a27e1edb709bd4c0:96148635eb24702398b4bc95a507d831a213e3284bfab604491d5bee41f3c96c89db08ebb8d6d0a88761d22c44059e6972afbd04364ba4dc9c6ac700cb1e6bc8ecbe0212d16da79d8d1975f3c8a9c5805148dc93a9a5f886289b4d7c0cfc952e5a9e5c504afed40f4d412cc134016595",
    "expires_in": 895,
    "state": "0KuvTFpZU7osXjUl",
    "token_type": "Bearer"
}
12phase<--<-- 4 --- AccessToken -->-->
12requestop_args: {'state': '0KuvTFpZU7osXjUl'}, 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': '2973c527d0328381a27e1edb709bd4c0:96148635eb24702398b4bc95a507d831a213e3284bfab604491d5bee41f3c96c89db08ebb8d6d0a88761d22c44059e6972afbd04364ba4dc9c6ac700cb1e6bc8ecbe0212d16da79d8d1975f3c8a9c5805148dc93a9a5f886289b4d7c0cfc952e5a9e5c504afed40f4d412cc134016595', 'state': '0KuvTFpZU7osXjUl', 'grant_type': 'authorization_code', 'client_id': '112563f6-1480-40b8-8e28-e072ca212c82'}, 'state': '0KuvTFpZU7osXjUl', 'authn_method': 'client_secret_basic'}
12AccessTokenRequest
{
    "code": "2973c527d0328381a27e1edb709bd4c0:96148635eb24702398b4bc95a507d831a213e3284bfab604491d5bee41f3c96c89db08ebb8d6d0a88761d22c44059e6972afbd04364ba4dc9c6ac700cb1e6bc8ecbe0212d16da79d8d1975f3c8a9c5805148dc93a9a5f886289b4d7c0cfc952e5a9e5c504afed40f4d412cc134016595",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:62346/authz_cb",
    "state": "0KuvTFpZU7osXjUl"
}
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=2973c527d0328381a27e1edb709bd4c0%3A96148635eb24702398b4bc95a507d831a213e3284bfab604491d5bee41f3c96c89db08ebb8d6d0a88761d22c44059e6972afbd04364ba4dc9c6ac700cb1e6bc8ecbe0212d16da79d8d1975f3c8a9c5805148dc93a9a5f886289b4d7c0cfc952e5a9e5c504afed40f4d412cc134016595&state=0KuvTFpZU7osXjUl
12http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token status_code:200
12response{'access_token': '80519e9c-1668-436e-b4f9-cd2dd141bd9e', 'token_type': 'Bearer', 'refresh_token': '9ed361ae-a523-4dd4-ab4c-0c3895e3f9b4', 'expires_in': 894, 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjp7ImNvdW50cnkiOm51bGwsImxvY2Fsa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UiOm51bGwsInByZWZlcnJlZF91c2VybmFtZSI6ImNsb3Vkc3NvdGVzdCIsInByb2ZpbGUiOm51bGwsInN1YiI6IjBiN2Y5NDViOGM1ZjRhMzZhMzViZjQ5ZjcyMzliZmE0IiwidWlkIjoiMGI3Zjk0NWI4YzVmNGEzNmEzNWJmNDlmNzIzOWJmYTQiLCJ1cGRhdGVkX2F0IjoxNTYzODg1MTA5LCJ1c2VybmFtZSI6ImNsb3Vkc3NvdGVzdCIsIndlYnNpdGUiOm51bGwsInpvbmVpbmZvIjpudWxsfQ.HxEoV7VLxU1B6LXbsHRMkZNlc3GnwbRzqCGyFKMC1rRumC2HQLOLHJp4-XTIUJeOBpH81rAOtCLkyeP8Ze7cHyaKLDUB4wziT9RNmxT88Iadwj8IEL04GRDHQQ81vvHfkSPjjVmbdA0QfxkXsSxHs24yBPQ57UngBe5m70zoAXNIi_ha4HkGeTba8sDibBB_OCz3s4c8i-3lJHL8y8Q_ZefgqGbM0ZNe_SjHGfBGOAbfckHFiNt5pVglGPByAPJyrRvZ_WAigFf4jcxbkUEluQP449am7liUEB2SRWE2T6utFLHw8yRLHaFX4MHuSARHAwqBFQfRrOdRbVgeF5EmIA'}
13AccessTokenResponse
{
    "access_token": "80519e9c-1668-436e-b4f9-cd2dd141bd9e",
    "expires_in": 894,
    "id_token": {
        "address": {
            "country": null,
            "locality": null,
            "postal_code": null,
            "region": null,
            "street_address": null
        },
        "at_hash": "dRvOZdbwGaIetcfxtgR-ug",
        "aud": [
            "112563f6-1480-40b8-8e28-e072ca212c82"
        ],
        "auth_time": 1594286744,
        "birthdate": "1987-07-08",
        "c_hash": "DOWvLAez4S6dEFNlsKwV4w",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "email_verified": true,
        "exp": 1594287349,
        "family_name": "tesrt",
        "favicon1": null,
        "fname": "cloudssot",
        "gender": null,
        "given_name": "cloudssot",
        "iat": 1594286749,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "e1283023-9222-4b8e-aac3-821cf8a6c6d4",
        "lname": "tesrt",
        "locale": null,
        "middle_name": null,
        "name": "cloudssot tesrt",
        "nbf": 1594286749,
        "nickname": null,
        "nonce": "0NdHRqhul1WMv6VD",
        "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": "9ed361ae-a523-4dd4-ab4c-0c3895e3f9b4",
    "token_type": "Bearer"
}
13jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
13phase<--<-- 5 --- UserInfo -->-->
13do_user_info_request
kwargs:{'state': '0KuvTFpZU7osXjUl', 'method': 'POST', 'behavior': 'use_authorization_header'}
13request{'body': ''}
13request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo
13request_http_args{'headers': {'Authorization': 'Bearer 80519e9c-1668-436e-b4f9-cd2dd141bd9e', 'Content-Type': 'application/x-www-form-urlencoded'}}
13http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo status_code:200
13OpenIDSchema
{
    "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": 1594287350,
    "family_name": "tesrt",
    "favicon1": null,
    "fname": "cloudssot",
    "gender": null,
    "given_name": "cloudssot",
    "iat": 1594286750,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "b04e7dc8-a62d-4cb7-ab21-f5e4463f6f02",
    "lname": "tesrt",
    "locale": null,
    "middle_name": null,
    "name": "cloudssot tesrt",
    "nbf": 1594286750,
    "nickname": null,
    "nonce": "0NdHRqhul1WMv6VD",
    "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
}
13OpenIDSchema
{
    "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": 1594287350,
    "family_name": "tesrt",
    "favicon1": null,
    "fname": "cloudssot",
    "gender": null,
    "given_name": "cloudssot",
    "iat": 1594286750,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "b04e7dc8-a62d-4cb7-ab21-f5e4463f6f02",
    "lname": "tesrt",
    "locale": null,
    "middle_name": null,
    "name": "cloudssot tesrt",
    "nbf": 1594286750,
    "nickname": null,
    "nonce": "0NdHRqhul1WMv6VD",
    "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
}
13jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
13phase<--<-- 6 --- Done -->-->
13end
13assertionVerifyResponse
13conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
13assertionVerifyIDTokenUserInfoSubSame
13conditionverify-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]
13conditionDone: status=OK

Result

PASSED