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-09T07:11:20Z

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",
        "Favicon",
        "website",
        "gender",
        "locale",
        "auth_time",
        "Uid",
        "birthdate",
        "acr",
        "FirstName",
        "CustomFields.customerid",
        "email_verified",
        "phone_number",
        "profile",
        "email",
        "address",
        "updated_at",
        "Country",
        "given_name",
        "nickname",
        "preferred_username",
        "picture",
        "zoneinfo",
        "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": "Ywoq3q1a3XonGluM",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "KMSkJZajBGCEneZ9"
}
0redirect urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=KMSkJZajBGCEneZ9&nonce=Ywoq3q1a3XonGluM&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61949%2Fauthz_cb&client_id=112563f6-1480-40b8-8e28-e072ca212c82
0redirecthttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=KMSkJZajBGCEneZ9&nonce=Ywoq3q1a3XonGluM&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61949%2Fauthz_cb&client_id=112563f6-1480-40b8-8e28-e072ca212c82
6responseResponse URL with query part
6response{'state': 'KMSkJZajBGCEneZ9', 'code': '1e6d3cf06b937164473cead636a700fd:ccf7e90dd23f897257414912f2449a7d08505fb0eac6e130398cab4483c416cbf53a4979d23ea97cf389d02c9c6db59ec90e06be546e9603effa2694419c051121ca5947c562305357d96f44d4eac907c70ca3761ad84dd6efdde79533ca08d3f250171c40a868c309b2f3a0920fffce'}
6response{'state': 'KMSkJZajBGCEneZ9', 'code': '1e6d3cf06b937164473cead636a700fd:ccf7e90dd23f897257414912f2449a7d08505fb0eac6e130398cab4483c416cbf53a4979d23ea97cf389d02c9c6db59ec90e06be546e9603effa2694419c051121ca5947c562305357d96f44d4eac907c70ca3761ad84dd6efdde79533ca08d3f250171c40a868c309b2f3a0920fffce'}
6AuthorizationResponse
{
    "code": "1e6d3cf06b937164473cead636a700fd:ccf7e90dd23f897257414912f2449a7d08505fb0eac6e130398cab4483c416cbf53a4979d23ea97cf389d02c9c6db59ec90e06be546e9603effa2694419c051121ca5947c562305357d96f44d4eac907c70ca3761ad84dd6efdde79533ca08d3f250171c40a868c309b2f3a0920fffce",
    "state": "KMSkJZajBGCEneZ9"
}
6phase<--<-- 4 --- AccessToken -->-->
6requestop_args: {'state': 'KMSkJZajBGCEneZ9'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61949/authz_cb'}
6do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61949/authz_cb', 'code': '1e6d3cf06b937164473cead636a700fd:ccf7e90dd23f897257414912f2449a7d08505fb0eac6e130398cab4483c416cbf53a4979d23ea97cf389d02c9c6db59ec90e06be546e9603effa2694419c051121ca5947c562305357d96f44d4eac907c70ca3761ad84dd6efdde79533ca08d3f250171c40a868c309b2f3a0920fffce', 'state': 'KMSkJZajBGCEneZ9', 'grant_type': 'authorization_code', 'client_id': '112563f6-1480-40b8-8e28-e072ca212c82'}, 'state': 'KMSkJZajBGCEneZ9', 'authn_method': 'client_secret_basic'}
6AccessTokenRequest
{
    "code": "1e6d3cf06b937164473cead636a700fd:ccf7e90dd23f897257414912f2449a7d08505fb0eac6e130398cab4483c416cbf53a4979d23ea97cf389d02c9c6db59ec90e06be546e9603effa2694419c051121ca5947c562305357d96f44d4eac907c70ca3761ad84dd6efdde79533ca08d3f250171c40a868c309b2f3a0920fffce",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "state": "KMSkJZajBGCEneZ9"
}
6request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token
6request_http_args{'headers': {'Authorization': 'Basic MTEyNTYzZjYtMTQ4MC00MGI4LThlMjgtZTA3MmNhMjEyYzgyOjc4ZDNkYmUzLTEwZDEtNDk3Yi05MzU3LThlZWQ0NTkzMzYzZA==', 'Content-Type': 'application/x-www-form-urlencoded'}}
6requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61949%2Fauthz_cb&code=1e6d3cf06b937164473cead636a700fd%3Accf7e90dd23f897257414912f2449a7d08505fb0eac6e130398cab4483c416cbf53a4979d23ea97cf389d02c9c6db59ec90e06be546e9603effa2694419c051121ca5947c562305357d96f44d4eac907c70ca3761ad84dd6efdde79533ca08d3f250171c40a868c309b2f3a0920fffce&state=KMSkJZajBGCEneZ9
6http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token status_code:200
6response{'access_token': '2c6e3c28-52f6-427b-af81-8686c286412e', 'token_type': 'Bearer', 'refresh_token': 'e8facee7-ad83-4a56-8edb-6ae92d9b0267', 'expires_in': 852, 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjp7ImNvdW50cnkiOm51bGwsImxvY2FsaXR5IjpudWxsLCJwb3N0YWxfY29kZSI6bnVsbCwicmVnaW9uIjpudWxsLCJzdHJlZXRfYWRkcmVzcyI6bnVsbH0sImFzZGZnaCI6IiIsImF1ZCI6IjExMjU2M2Y2LTE0ODAtNDBiOC04ZTI4LWUwNzJjYTIxMmM4MiIsImF1dGhfdGltZSI6MTU5NDI3ODYzMywiYmlydGhkYXRlIjoiMTk4Ny0wNy0wOCIsImNfaGFzaCI6IjFETmxjWWJIZWpxbjBz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0.To4ndgwQxVKQ2CK5Y6MUlxXalpJeiAhV0PRjC3zeLw2dCJLZjbG9ZxE62UMdS-YEwILc8AX2sAGm4xIFQKwjaHrV6teQSduGhqIbq2jGaEhqBJg6zwEbxHJTpMJ-QEUDxGZK0o5eIwk2wcqGB4zaYKv_Z3vsNshBwd9P_0h-b0QQoky1_enDnMYd6g08lqCT3i0lX_pVP5K6Xq3FL7nzigOjQyLxh_zhn7DrDbmStwXdvJpDQPDqueofRCV5GRj3OkhtqFh8Gl-hmAHzeTvJuP_XevcoEhDKN2Jn1e7MM0CzNh8AEMC20lEGjTY0hH-qb_lImzVVoS50Dt4VFM-lsg'}
6AccessTokenResponse
{
    "access_token": "2c6e3c28-52f6-427b-af81-8686c286412e",
    "expires_in": 852,
    "id_token": {
        "address": {
            "country": null,
            "locality": null,
            "postal_code": null,
            "region": null,
            "street_address": null
        },
        "aud": [
            "112563f6-1480-40b8-8e28-e072ca212c82"
        ],
        "auth_time": 1594278633,
        "birthdate": "1987-07-08",
        "c_hash": "1DNlcYbHejqn0sgeUVZbrA",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "email_verified": true,
        "exp": 1594279280,
        "family_name": "tesrt",
        "favicon1": null,
        "fname": "cloudssot",
        "gender": null,
        "given_name": "cloudssot",
        "iat": 1594278680,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "fa8db670-66a5-4e81-86c9-630e6761315b",
        "lname": "tesrt",
        "locale": null,
        "middle_name": null,
        "name": "cloudssot tesrt",
        "nbf": 1594278680,
        "nickname": null,
        "nonce": "Ywoq3q1a3XonGluM",
        "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": "e8facee7-ad83-4a56-8edb-6ae92d9b0267",
    "token_type": "Bearer"
}
6jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
6phase<--<-- 5 --- UserInfo -->-->
6do_user_info_request
kwargs:{'state': 'KMSkJZajBGCEneZ9', 'method': 'POST', 'authn_method': 'token_in_message_body'}
6request{'body': 'access_token=2c6e3c28-52f6-427b-af81-8686c286412e'}
6request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo
6request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
6http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo status_code:200
6OpenIDSchema
{
    "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": 1594279280,
    "family_name": "tesrt",
    "favicon1": null,
    "fname": "cloudssot",
    "gender": null,
    "given_name": "cloudssot",
    "iat": 1594278680,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "fa34afbf-bffa-41fb-bc45-511c87187e43",
    "lname": "tesrt",
    "locale": null,
    "middle_name": null,
    "name": "cloudssot tesrt",
    "nbf": 1594278680,
    "nickname": null,
    "nonce": "Ywoq3q1a3XonGluM",
    "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
}
6OpenIDSchema
{
    "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": 1594279280,
    "family_name": "tesrt",
    "favicon1": null,
    "fname": "cloudssot",
    "gender": null,
    "given_name": "cloudssot",
    "iat": 1594278680,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "fa34afbf-bffa-41fb-bc45-511c87187e43",
    "lname": "tesrt",
    "locale": null,
    "middle_name": null,
    "name": "cloudssot tesrt",
    "nbf": 1594278680,
    "nickname": null,
    "nonce": "Ywoq3q1a3XonGluM",
    "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
}
6jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
6phase<--<-- 6 --- Done -->-->
6end
6assertionVerifyResponse
6conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
6assertionVerifyIDTokenUserInfoSubSame
6conditionverify-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]
6conditionDone: status=OK

Result

PASSED