Test Info

Issuerhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest
Profile[]
Test IDOP-scope-address
Test descriptionScope requesting address claims
Timestamp2020-07-09T07:14:47Z

Conditions


verify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
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": [
        "address",
        "preferred_username",
        "LastName",
        "email_verified",
        "auth_time",
        "UserName",
        "FirstName",
        "email",
        "phone_number",
        "website",
        "gender",
        "zoneinfo",
        "acr",
        "CustomFields.customerid",
        "Uid",
        "family_name",
        "locale",
        "updated_at",
        "middle_name",
        "profile",
        "nickname",
        "picture",
        "birthdate",
        "Country",
        "Favicon",
        "phone_number_verified",
        "name",
        "given_name"
    ],
    "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": "TwvjoXVVWspoOZRM",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "response_type": "code",
    "scope": "openid address",
    "state": "G0ouG7MLqVnh155R"
}
0redirect urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=G0ouG7MLqVnh155R&nonce=TwvjoXVVWspoOZRM&response_type=code&scope=openid+address&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=G0ouG7MLqVnh155R&nonce=TwvjoXVVWspoOZRM&response_type=code&scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61949%2Fauthz_cb&client_id=112563f6-1480-40b8-8e28-e072ca212c82
7responseResponse URL with query part
7response{'state': 'G0ouG7MLqVnh155R', 'code': '25a5e30183c58adeeb23d0d29766f693:123b307c30c059aec25936f1e7e933478786da5650f49a052ff7f218f33be03063f63a5f92d5f34ec09324eac1aa434d12cdbef1d6c8c8fbfc08d90e604a181469c6fe9aa6472bf3d6bb3bc76ae2b2a8e795b6320f89c1cd281b683e17d415558bae59300adf2a1667206e2353286942'}
7response{'state': 'G0ouG7MLqVnh155R', 'code': '25a5e30183c58adeeb23d0d29766f693:123b307c30c059aec25936f1e7e933478786da5650f49a052ff7f218f33be03063f63a5f92d5f34ec09324eac1aa434d12cdbef1d6c8c8fbfc08d90e604a181469c6fe9aa6472bf3d6bb3bc76ae2b2a8e795b6320f89c1cd281b683e17d415558bae59300adf2a1667206e2353286942'}
7AuthorizationResponse
{
    "code": "25a5e30183c58adeeb23d0d29766f693:123b307c30c059aec25936f1e7e933478786da5650f49a052ff7f218f33be03063f63a5f92d5f34ec09324eac1aa434d12cdbef1d6c8c8fbfc08d90e604a181469c6fe9aa6472bf3d6bb3bc76ae2b2a8e795b6320f89c1cd281b683e17d415558bae59300adf2a1667206e2353286942",
    "state": "G0ouG7MLqVnh155R"
}
7phase<--<-- 4 --- AccessToken -->-->
7requestop_args: {'state': 'G0ouG7MLqVnh155R'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61949/authz_cb'}
7do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61949/authz_cb', 'code': '25a5e30183c58adeeb23d0d29766f693:123b307c30c059aec25936f1e7e933478786da5650f49a052ff7f218f33be03063f63a5f92d5f34ec09324eac1aa434d12cdbef1d6c8c8fbfc08d90e604a181469c6fe9aa6472bf3d6bb3bc76ae2b2a8e795b6320f89c1cd281b683e17d415558bae59300adf2a1667206e2353286942', 'state': 'G0ouG7MLqVnh155R', 'grant_type': 'authorization_code', 'client_id': '112563f6-1480-40b8-8e28-e072ca212c82'}, 'state': 'G0ouG7MLqVnh155R', 'authn_method': 'client_secret_basic'}
7AccessTokenRequest
{
    "code": "25a5e30183c58adeeb23d0d29766f693:123b307c30c059aec25936f1e7e933478786da5650f49a052ff7f218f33be03063f63a5f92d5f34ec09324eac1aa434d12cdbef1d6c8c8fbfc08d90e604a181469c6fe9aa6472bf3d6bb3bc76ae2b2a8e795b6320f89c1cd281b683e17d415558bae59300adf2a1667206e2353286942",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "state": "G0ouG7MLqVnh155R"
}
7request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token
7request_http_args{'headers': {'Authorization': 'Basic MTEyNTYzZjYtMTQ4MC00MGI4LThlMjgtZTA3MmNhMjEyYzgyOjc4ZDNkYmUzLTEwZDEtNDk3Yi05MzU3LThlZWQ0NTkzMzYzZA==', 'Content-Type': 'application/x-www-form-urlencoded'}}
7requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61949%2Fauthz_cb&code=25a5e30183c58adeeb23d0d29766f693%3A123b307c30c059aec25936f1e7e933478786da5650f49a052ff7f218f33be03063f63a5f92d5f34ec09324eac1aa434d12cdbef1d6c8c8fbfc08d90e604a181469c6fe9aa6472bf3d6bb3bc76ae2b2a8e795b6320f89c1cd281b683e17d415558bae59300adf2a1667206e2353286942&state=G0ouG7MLqVnh155R
8http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token status_code:200
8response{'access_token': 'dac2ec63-4a3b-417c-8a57-aa090bc76ab4', 'token_type': 'Bearer', 'refresh_token': '8938c826-8cc0-4957-8f25-87adc5014a21', 'expires_in': 881, 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjp7ImNvdW50cnkiOm51bGwsImxvY2FsaXR5IjpudWxsLCJwb3N0YWxfY29kZSI6bnVsbCwicmVnaW9uIjpudWxsLCJzdHJlZXRfYWRkcmVzcyI6bnVsbH0sImFzZGZnaCI6IiIsImF1ZCI6IjExMjU2M2Y2LTE0ODAtNDBiOC04ZTI4LWUwNzJjYTIxMmM4MiIsImF1dGhfdGltZSI6MTU5NDI3ODg2OCwiY19oYXNoIjoiV1VZYlk0UkVFb2ducTZldTZua1pMdyIsImNvdW50cnkiOm51bGwsImVtYWlsIjpbeyJUeXBlIjoiUHJpbWFyeSIsIlZhbHVlIjoiY2xvdWRzc290ZXN0QG1haWxhenkuY29tIn1dLCJleHAiOjE1OTQyNzk0ODYsImZhdmljb24xIjpudWxsLCJmbmFtZSI6ImNsb3Vkc3NvdCIsImlhdCI6MTU5NDI3ODg4NiwiaXNzIjoiaHR0cHM6Ly9jbG91ZC1hcGkubG9naW5yYWRpdXMuY29tL3Nzby9vaWRjL3YyL2ludGVybmFsLW1heWFuay9vaWRjdGVzdCIsImp0aSI6ImI1MmRlM2ViLTU1MWUtNGM0Ni1iNGJmLWIxYTY5ZTg3ZDI3YiIsImxuYW1lIjoidGVzcnQiLCJuYmYiOjE1OTQyNzg4ODcsIm5vbmNlIjoiVHd2am9YVlZXc3BvT1pSTSIsInN1YiI6IjBiN2Y5NDViOGM1ZjRhMzZhMzViZjQ5ZjcyMzliZmE0IiwidWlkIjoiMGI3Zjk0NWI4YzVmNGEzNmEzNWJmNDlmNzIzOWJmYTQiLCJ1c2VybmFtZSI6ImNsb3Vkc3NvdGVzdCJ9.LG6Gcs8a9Yh_K9d_jt_acYrOFXkT-IybTfF177jXTv67_w16SobhAMQSbMjYs7uIQLUNA0drAyU5nKS8v1hbBp38RQO6gsjzaZjJZ5D_vcLvEWMCDBuhXq_L0PUwDF72xYOvapG5P_iZ_SgXxcp5TS7z3z1Il29kaiExKxf_OiRWnQ0agJOTWuWQDqr4G1-1nGOp7Cd7lWzmlxodK62WW3cCNPizn-lZ_tRskhyDLDcxAA6gCtczyR_f-EwPv-2rZ3-t6qTi0eFnXx11XuRZvIl_P04crspJH4fKNKTZZVURcLmggV8hmT4gv7t9-NCzCjlP9GStJrNQozGE29d16w'}
8AccessTokenResponse
{
    "access_token": "dac2ec63-4a3b-417c-8a57-aa090bc76ab4",
    "expires_in": 881,
    "id_token": {
        "address": {
            "country": null,
            "locality": null,
            "postal_code": null,
            "region": null,
            "street_address": null
        },
        "aud": [
            "112563f6-1480-40b8-8e28-e072ca212c82"
        ],
        "auth_time": 1594278868,
        "c_hash": "WUYbY4REEognq6eu6nkZLw",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "exp": 1594279486,
        "favicon1": null,
        "fname": "cloudssot",
        "iat": 1594278886,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "b52de3eb-551e-4c46-b4bf-b1a69e87d27b",
        "lname": "tesrt",
        "nbf": 1594278887,
        "nonce": "TwvjoXVVWspoOZRM",
        "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "username": "cloudssotest"
    },
    "refresh_token": "8938c826-8cc0-4957-8f25-87adc5014a21",
    "token_type": "Bearer"
}
8jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
8phase<--<-- 5 --- UserInfo -->-->
8do_user_info_request
kwargs:{'state': 'G0ouG7MLqVnh155R', 'method': 'GET', 'authn_method': 'bearer_header'}
8request{'body': None}
8request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo
8request_http_args{'headers': {'Authorization': 'Bearer dac2ec63-4a3b-417c-8a57-aa090bc76ab4'}}
8http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo status_code:200
8OpenIDSchema
{
    "address": {
        "country": null,
        "locality": null,
        "postal_code": null,
        "region": null,
        "street_address": null
    },
    "aud": "112563f6-1480-40b8-8e28-e072ca212c82",
    "country": null,
    "email": {
        "Type": "Primary",
        "Value": "cloudssotest@mailazy.com"
    },
    "exp": 1594279487,
    "favicon1": null,
    "fname": "cloudssot",
    "iat": 1594278887,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "80766caf-53aa-47e2-8ce6-f82b84ec8a5c",
    "lname": "tesrt",
    "nbf": 1594278887,
    "nonce": "TwvjoXVVWspoOZRM",
    "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "username": "cloudssotest"
}
8OpenIDSchema
{
    "address": {
        "country": null,
        "locality": null,
        "postal_code": null,
        "region": null,
        "street_address": null
    },
    "aud": "112563f6-1480-40b8-8e28-e072ca212c82",
    "country": null,
    "email": {
        "Type": "Primary",
        "Value": "cloudssotest@mailazy.com"
    },
    "exp": 1594279487,
    "favicon1": null,
    "fname": "cloudssot",
    "iat": 1594278887,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "80766caf-53aa-47e2-8ce6-f82b84ec8a5c",
    "lname": "tesrt",
    "nbf": 1594278887,
    "nonce": "TwvjoXVVWspoOZRM",
    "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "username": "cloudssotest"
}
8jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
8phase<--<-- 6 --- Done -->-->
8end
8assertionVerifyScopes
8conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
8assertionCheckHTTPResponse
8conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
8assertionVerifyResponse
8conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
8conditionDone: status=OK

Result

PASSED