Test Info

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

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": [
        "family_name",
        "UserName",
        "middle_name",
        "phone_number_verified",
        "name",
        "LastName",
        "auth_time",
        "Uid",
        "Favicon",
        "website",
        "gender",
        "locale",
        "CustomFields.customerid",
        "birthdate",
        "acr",
        "FirstName",
        "email_verified",
        "phone_number",
        "profile",
        "email",
        "address",
        "updated_at",
        "picture",
        "zoneinfo",
        "Country",
        "given_name",
        "nickname",
        "preferred_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": "DxT6x7ByjIJATsFM",
    "redirect_uri": "https://op.certification.openid.net:62346/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "Qfqz0zoZXqLz3HE6"
}
0redirect urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=Qfqz0zoZXqLz3HE6&nonce=DxT6x7ByjIJATsFM&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=Qfqz0zoZXqLz3HE6&nonce=DxT6x7ByjIJATsFM&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
13http args{}
13responseURL with fragment
13responsestate=Qfqz0zoZXqLz3HE6&code=699eb169669b071c8b94a6af0097fb46%3Ac477ecf672d866984b9e13073e031dd7d8a9af08ad27648bf270308bf6c478eef2d3cde60b23a13f20f4d63e820f68050969dc92a992ae1a559898494369a5bb54938aac4cfde0abc56038fe5205762555ef6dd6b248ececf92de9be9eb505679f1cb4a558140483893462fcb823ebef&access_token=d09c522e-ed61-4724-bac2-3d4ea11fe764&token_type=Bearer&expires_in=895
13response{'state': 'Qfqz0zoZXqLz3HE6', 'code': '699eb169669b071c8b94a6af0097fb46:c477ecf672d866984b9e13073e031dd7d8a9af08ad27648bf270308bf6c478eef2d3cde60b23a13f20f4d63e820f68050969dc92a992ae1a559898494369a5bb54938aac4cfde0abc56038fe5205762555ef6dd6b248ececf92de9be9eb505679f1cb4a558140483893462fcb823ebef', 'access_token': 'd09c522e-ed61-4724-bac2-3d4ea11fe764', 'token_type': 'Bearer', 'expires_in': 895}
13AuthorizationResponse
{
    "access_token": "d09c522e-ed61-4724-bac2-3d4ea11fe764",
    "code": "699eb169669b071c8b94a6af0097fb46:c477ecf672d866984b9e13073e031dd7d8a9af08ad27648bf270308bf6c478eef2d3cde60b23a13f20f4d63e820f68050969dc92a992ae1a559898494369a5bb54938aac4cfde0abc56038fe5205762555ef6dd6b248ececf92de9be9eb505679f1cb4a558140483893462fcb823ebef",
    "expires_in": 895,
    "state": "Qfqz0zoZXqLz3HE6",
    "token_type": "Bearer"
}
13phase<--<-- 4 --- AccessToken -->-->
13requestop_args: {'state': 'Qfqz0zoZXqLz3HE6'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:62346/authz_cb'}
13do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:62346/authz_cb', 'code': '699eb169669b071c8b94a6af0097fb46:c477ecf672d866984b9e13073e031dd7d8a9af08ad27648bf270308bf6c478eef2d3cde60b23a13f20f4d63e820f68050969dc92a992ae1a559898494369a5bb54938aac4cfde0abc56038fe5205762555ef6dd6b248ececf92de9be9eb505679f1cb4a558140483893462fcb823ebef', 'state': 'Qfqz0zoZXqLz3HE6', 'grant_type': 'authorization_code', 'client_id': '112563f6-1480-40b8-8e28-e072ca212c82'}, 'state': 'Qfqz0zoZXqLz3HE6', 'authn_method': 'client_secret_basic'}
13AccessTokenRequest
{
    "code": "699eb169669b071c8b94a6af0097fb46:c477ecf672d866984b9e13073e031dd7d8a9af08ad27648bf270308bf6c478eef2d3cde60b23a13f20f4d63e820f68050969dc92a992ae1a559898494369a5bb54938aac4cfde0abc56038fe5205762555ef6dd6b248ececf92de9be9eb505679f1cb4a558140483893462fcb823ebef",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:62346/authz_cb",
    "state": "Qfqz0zoZXqLz3HE6"
}
13request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token
13request_http_args{'headers': {'Authorization': 'Basic MTEyNTYzZjYtMTQ4MC00MGI4LThlMjgtZTA3MmNhMjEyYzgyOjc4ZDNkYmUzLTEwZDEtNDk3Yi05MzU3LThlZWQ0NTkzMzYzZA==', 'Content-Type': 'application/x-www-form-urlencoded'}}
13requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A62346%2Fauthz_cb&code=699eb169669b071c8b94a6af0097fb46%3Ac477ecf672d866984b9e13073e031dd7d8a9af08ad27648bf270308bf6c478eef2d3cde60b23a13f20f4d63e820f68050969dc92a992ae1a559898494369a5bb54938aac4cfde0abc56038fe5205762555ef6dd6b248ececf92de9be9eb505679f1cb4a558140483893462fcb823ebef&state=Qfqz0zoZXqLz3HE6
13http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token status_code:200
13response{'access_token': 'd09c522e-ed61-4724-bac2-3d4ea11fe764', 'token_type': 'Bearer', 'refresh_token': 'd2d10f16-2cf0-4692-95b4-87455eb3da2c', 'expires_in': 893, 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjp7ImNvdW50cnkiOm51bGwsImxvY2FsaXR5IjpudWxsLCJwb3N0YWxfY29kZSI6bnVsbCwicmVnaW9uIjpudWxs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InByb2ZpbGUiOm51bGwsInN1YiI6IjBiN2Y5NDViOGM1ZjRhMzZhMzViZjQ5ZjcyMzliZmE0IiwidWlkIjoiMGI3Zjk0NWI4YzVmNGEzNmEzNWJmNDlmNzIzOWJmYTQiLCJ1cGRhdGVkX2F0IjoxNTYzODg1MTA5LCJ1c2VybmFtZSI6ImNsb3Vkc3NvdGVzdCIsIndlYnNpdGUiOm51bGwsInpvbmVpbmZvIjpudWxsfQ.Ja70HgnLh65niaIkHK5r2hF_Kk4YtAPHrasnN54ZLkWG9_GNC_5t0eTblYpw-U3kd_ySh38_RPX-7lVOjs2czvwcOjNCgO-NrCD0Fs59vIP4BrX4xQKPQnH9nTfEDda_vfxhGP8xFsb9M0TeBTg9gZF4ZwVo-FogFjLjR5d8SD46Rwn1n8lIfO5FUrn-1xnCXBC6LA22U3totOcA2oAqbjEngKiwO7ol1FFNBxRsPRVr3tzkLlyIiGI5v_xy13_Xv2FhHMCbk2LtJaKgNmJ7S-aY4A4Bhrp6QcjktB7rKooCllDFjJCAgputWpKwlyR4r4qJ5sE-aSkZhY_Pi2-bng'}
13AccessTokenResponse
{
    "access_token": "d09c522e-ed61-4724-bac2-3d4ea11fe764",
    "expires_in": 893,
    "id_token": {
        "address": {
            "country": null,
            "locality": null,
            "postal_code": null,
            "region": null,
            "street_address": null
        },
        "at_hash": "RCI74aqJteW8Sa0Z_rikQg",
        "aud": [
            "112563f6-1480-40b8-8e28-e072ca212c82"
        ],
        "auth_time": 1594286724,
        "birthdate": "1987-07-08",
        "c_hash": "zxMIZH49knJ5quRnK4Hu_g",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "email_verified": true,
        "exp": 1594287330,
        "family_name": "tesrt",
        "favicon1": null,
        "fname": "cloudssot",
        "gender": null,
        "given_name": "cloudssot",
        "iat": 1594286730,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "1614cd87-2d97-4855-b2b5-09f4ea8d6ee6",
        "lname": "tesrt",
        "locale": null,
        "middle_name": null,
        "name": "cloudssot tesrt",
        "nbf": 1594286730,
        "nickname": null,
        "nonce": "DxT6x7ByjIJATsFM",
        "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": "d2d10f16-2cf0-4692-95b4-87455eb3da2c",
    "token_type": "Bearer"
}
13jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
13phase<--<-- 5 --- UserInfo -->-->
13do_user_info_request
kwargs:{'state': 'Qfqz0zoZXqLz3HE6', 'method': 'GET', 'authn_method': 'bearer_header'}
13request{'body': None}
13request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo
13request_http_args{'headers': {'Authorization': 'Bearer d09c522e-ed61-4724-bac2-3d4ea11fe764'}}
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": 1594287330,
    "family_name": "tesrt",
    "favicon1": null,
    "fname": "cloudssot",
    "gender": null,
    "given_name": "cloudssot",
    "iat": 1594286730,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "8f215239-f1cd-4cc2-9054-0e2f052448f9",
    "lname": "tesrt",
    "locale": null,
    "middle_name": null,
    "name": "cloudssot tesrt",
    "nbf": 1594286730,
    "nickname": null,
    "nonce": "DxT6x7ByjIJATsFM",
    "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": 1594287330,
    "family_name": "tesrt",
    "favicon1": null,
    "fname": "cloudssot",
    "gender": null,
    "given_name": "cloudssot",
    "iat": 1594286730,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "8f215239-f1cd-4cc2-9054-0e2f052448f9",
    "lname": "tesrt",
    "locale": null,
    "middle_name": null,
    "name": "cloudssot tesrt",
    "nbf": 1594286730,
    "nickname": null,
    "nonce": "DxT6x7ByjIJATsFM",
    "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