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-09T09:29:02Z

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": [
        "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",
        "address",
        "preferred_username",
        "LastName",
        "email_verified",
        "auth_time",
        "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": "hy69Z72X5aCBx9TC",
    "redirect_uri": "https://op.certification.openid.net:62346/authz_cb",
    "response_type": "code token",
    "scope": "openid address",
    "state": "tNwUPDxWKghQzga1"
}
0redirect urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=tNwUPDxWKghQzga1&nonce=hy69Z72X5aCBx9TC&response_type=code+token&scope=openid+address&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=tNwUPDxWKghQzga1&nonce=hy69Z72X5aCBx9TC&response_type=code+token&scope=openid+address&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=tNwUPDxWKghQzga1&code=45d27366454339b61c6e2d908503fdd5%3A595ab3fccefcd6cfe8fcd26b7fab76e5074c394a05cbc58d09ffc0b9aa916b3cc925b0e4d3f46c31ee41e0fda5717ba98869c41fea10b5ecd0d7ebb566aeb1114f2413822ad69b982e9573dd11d4172f564d30424e720e1421ac37ed728c6c2bc286a9e02e1472b26126aad066e2a11a&access_token=6a3ba49b-fd0c-4636-98dc-37dd73eb2894&token_type=Bearer&expires_in=895
13response{'state': 'tNwUPDxWKghQzga1', 'code': '45d27366454339b61c6e2d908503fdd5:595ab3fccefcd6cfe8fcd26b7fab76e5074c394a05cbc58d09ffc0b9aa916b3cc925b0e4d3f46c31ee41e0fda5717ba98869c41fea10b5ecd0d7ebb566aeb1114f2413822ad69b982e9573dd11d4172f564d30424e720e1421ac37ed728c6c2bc286a9e02e1472b26126aad066e2a11a', 'access_token': '6a3ba49b-fd0c-4636-98dc-37dd73eb2894', 'token_type': 'Bearer', 'expires_in': 895}
13AuthorizationResponse
{
    "access_token": "6a3ba49b-fd0c-4636-98dc-37dd73eb2894",
    "code": "45d27366454339b61c6e2d908503fdd5:595ab3fccefcd6cfe8fcd26b7fab76e5074c394a05cbc58d09ffc0b9aa916b3cc925b0e4d3f46c31ee41e0fda5717ba98869c41fea10b5ecd0d7ebb566aeb1114f2413822ad69b982e9573dd11d4172f564d30424e720e1421ac37ed728c6c2bc286a9e02e1472b26126aad066e2a11a",
    "expires_in": 895,
    "state": "tNwUPDxWKghQzga1",
    "token_type": "Bearer"
}
13phase<--<-- 4 --- AccessToken -->-->
13requestop_args: {'state': 'tNwUPDxWKghQzga1'}, 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': '45d27366454339b61c6e2d908503fdd5:595ab3fccefcd6cfe8fcd26b7fab76e5074c394a05cbc58d09ffc0b9aa916b3cc925b0e4d3f46c31ee41e0fda5717ba98869c41fea10b5ecd0d7ebb566aeb1114f2413822ad69b982e9573dd11d4172f564d30424e720e1421ac37ed728c6c2bc286a9e02e1472b26126aad066e2a11a', 'state': 'tNwUPDxWKghQzga1', 'grant_type': 'authorization_code', 'client_id': '112563f6-1480-40b8-8e28-e072ca212c82'}, 'state': 'tNwUPDxWKghQzga1', 'authn_method': 'client_secret_basic'}
13AccessTokenRequest
{
    "code": "45d27366454339b61c6e2d908503fdd5:595ab3fccefcd6cfe8fcd26b7fab76e5074c394a05cbc58d09ffc0b9aa916b3cc925b0e4d3f46c31ee41e0fda5717ba98869c41fea10b5ecd0d7ebb566aeb1114f2413822ad69b982e9573dd11d4172f564d30424e720e1421ac37ed728c6c2bc286a9e02e1472b26126aad066e2a11a",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:62346/authz_cb",
    "state": "tNwUPDxWKghQzga1"
}
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=45d27366454339b61c6e2d908503fdd5%3A595ab3fccefcd6cfe8fcd26b7fab76e5074c394a05cbc58d09ffc0b9aa916b3cc925b0e4d3f46c31ee41e0fda5717ba98869c41fea10b5ecd0d7ebb566aeb1114f2413822ad69b982e9573dd11d4172f564d30424e720e1421ac37ed728c6c2bc286a9e02e1472b26126aad066e2a11a&state=tNwUPDxWKghQzga1
13http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token status_code:200
13response{'access_token': '6a3ba49b-fd0c-4636-98dc-37dd73eb2894', 'token_type': 'Bearer', 'refresh_token': 'e2c229d6-a372-4705-a94f-16dc8686451a', 'expires_in': 893, 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjp7ImNvdW50cnki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K2vJOUId1xLS8fYE5-PEKwHoDXHsZF1rMPkBx8DpyXt0W4Ckwc9b-S1HXsFz4p6E6IN-w-DQbiJegx4L5h9GqPWhFJWTltvmdOdJnFh4tdhDp2hV9xHkcRykufRvooSceMFmSbY5kyZHgAezLICCoWONrrN0i_shUukgK4HhDdNg'}
13AccessTokenResponse
{
    "access_token": "6a3ba49b-fd0c-4636-98dc-37dd73eb2894",
    "expires_in": 893,
    "id_token": {
        "address": {
            "country": null,
            "locality": null,
            "postal_code": null,
            "region": null,
            "street_address": null
        },
        "at_hash": "MEEtOYkP7ZI0Su1DqmaEtg",
        "aud": [
            "112563f6-1480-40b8-8e28-e072ca212c82"
        ],
        "auth_time": 1594286936,
        "c_hash": "f-bzJ-ftZ-RubwlPy6wvuA",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "exp": 1594287542,
        "favicon1": null,
        "fname": "cloudssot",
        "iat": 1594286942,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "101e2e24-c4d8-41b2-8a89-ef89dae828fa",
        "lname": "tesrt",
        "nbf": 1594286942,
        "nonce": "hy69Z72X5aCBx9TC",
        "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "username": "cloudssotest"
    },
    "refresh_token": "e2c229d6-a372-4705-a94f-16dc8686451a",
    "token_type": "Bearer"
}
13jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
13phase<--<-- 5 --- UserInfo -->-->
13do_user_info_request
kwargs:{'state': 'tNwUPDxWKghQzga1', '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 6a3ba49b-fd0c-4636-98dc-37dd73eb2894'}}
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",
    "country": null,
    "email": {
        "Type": "Primary",
        "Value": "cloudssotest@mailazy.com"
    },
    "exp": 1594287542,
    "favicon1": null,
    "fname": "cloudssot",
    "iat": 1594286942,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "7c11d189-ece1-40d9-adc0-14d42bbdabd6",
    "lname": "tesrt",
    "nbf": 1594286942,
    "nonce": "hy69Z72X5aCBx9TC",
    "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "username": "cloudssotest"
}
13OpenIDSchema
{
    "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": 1594287542,
    "favicon1": null,
    "fname": "cloudssot",
    "iat": 1594286942,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "7c11d189-ece1-40d9-adc0-14d42bbdabd6",
    "lname": "tesrt",
    "nbf": 1594286942,
    "nonce": "hy69Z72X5aCBx9TC",
    "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "username": "cloudssotest"
}
13jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
13phase<--<-- 6 --- Done -->-->
13end
13assertionVerifyScopes
13conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
13assertionCheckHTTPResponse
13conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
13assertionVerifyResponse
13conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
13conditionDone: status=OK

Result

PASSED