Test Info

Issuerhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest
Profile[]
Test IDOP-scope-email
Test descriptionScope requesting email claims
Timestamp2020-07-09T08:42:46Z

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": [
        "birthdate",
        "Country",
        "Favicon",
        "phone_number_verified",
        "name",
        "given_name",
        "nickname",
        "picture",
        "address",
        "preferred_username",
        "LastName",
        "email_verified",
        "auth_time",
        "UserName",
        "email",
        "phone_number",
        "website",
        "FirstName",
        "gender",
        "zoneinfo",
        "Uid",
        "family_name",
        "locale",
        "updated_at",
        "acr",
        "CustomFields.customerid",
        "middle_name",
        "profile"
    ],
    "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": "tDrJsBWG4afYDFnj",
    "redirect_uri": "https://op.certification.openid.net:61830/authz_cb",
    "response_type": "code id_token",
    "scope": "openid email",
    "state": "8t2ggth6IiaqAFN0"
}
0redirect urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=8t2ggth6IiaqAFN0&nonce=tDrJsBWG4afYDFnj&response_type=code+id_token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61830%2Fauthz_cb&client_id=112563f6-1480-40b8-8e28-e072ca212c82
0redirecthttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=8t2ggth6IiaqAFN0&nonce=tDrJsBWG4afYDFnj&response_type=code+id_token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61830%2Fauthz_cb&client_id=112563f6-1480-40b8-8e28-e072ca212c82
13http args{}
13responseURL with fragment
13responsestate=8t2ggth6IiaqAFN0&code=e0563b1623f6ef1dc5c0f5995431788e%3A1c3b9d7ae170835ecc206e8052d29a6447c4f4f860d68f7393943ff4e94d2f7f697e9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Z859QzPXiJWR_X9pO0oEuDmB9R_45sq--hKDQgR7JbqGs9kaxgY1z0imn2yzVWApSzO2sloc2GO_xhTdKa_zffvFq7X5SMqFzfd0T0sns7pRV-XIkOAdwt1URDlcDFUbGfCcnPrVM3hjJ1rFlYuzsh3bWCM7swnY-yQqOFM3B09v9CZg176ungZ5eZd-h9G_0hn5Ic0bkPMb0jkXBFBWWCpKy659EKrBhsBR9briw
13response{'state': '8t2ggth6IiaqAFN0', 'code': 'e0563b1623f6ef1dc5c0f5995431788e:1c3b9d7ae170835ecc206e8052d29a6447c4f4f860d68f7393943ff4e94d2f7f697e9763df6c1e089d596d2dc3a8e38d74e425f610079244c2d317b772652404a704a4bffbdd2c835a1312a185c7f6abe72c1957f11b835e2126913c0ee1a1e544f56b50b2c8f6a07bd75c940e47ec04', 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjp7fSwiYXNkZmdoIjoiIiwiYXVkIjoiMTEyNTYzZjYtMTQ4MC00MGI4LThlMjgtZTA3MmNhMjEyYzgyIiwiYXV0aF90aW1lIjoxNTk0Mjg0MTYwLCJjX2hhc2giOiI5QmxZTW1qTGVuWVdSTDdjcnFpZmNBIiwiY291bnRyeSI6bnVsbCwiZW1haWwiOlt7IlR5cGUiOiJQcmltYXJ5IiwiVmFsdWUiOiJjbG91ZHNzb3Rlc3RAbWFpbGF6eS5jb20ifV0sImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJleHAiOjE1OTQyODQ3NjUsImZhdmljb24xIjpudWxsLCJmbmFtZSI6ImNsb3Vkc3NvdCIsImlhdCI6MTU5NDI4NDE2NSwiaXNzIjoiaHR0cHM6Ly9jbG91ZC1hcGkubG9naW5yYWRpdXMuY29tL3Nzby9vaWRjL3YyL2ludGVybmFsLW1heWFuay9vaWRjdGVzdCIsImp0aSI6IjE5YzU0YjFjLTdlOGUtNDVhMS1hOWMxLTkzYmM3NDNjY2U5NCIsImxuYW1lIjoidGVzcnQiLCJuYmYiOjE1OTQyODQxNjUsIm5vbmNlIjoidERySnNCV0c0YWZZREZuaiIsInN1YiI6IjBiN2Y5NDViOGM1ZjRhMzZhMzViZjQ5ZjcyMzliZmE0IiwidWlkIjoiMGI3Zjk0NWI4YzVmNGEzNmEzNWJmNDlmNzIzOWJmYTQiLCJ1c2VybmFtZSI6ImNsb3Vkc3NvdGVzdCJ9.W3NhElR46-Z8pKuYKTeoQa-3fUTZquwQeYeBQQwb3shwkuVnHcivUlslEhOOU_eHF6x7BP50zfqEVXScBdGy9usJuGBmeCy9l2CZ08BCoQYBpZ859QzPXiJWR_X9pO0oEuDmB9R_45sq--hKDQgR7JbqGs9kaxgY1z0imn2yzVWApSzO2sloc2GO_xhTdKa_zffvFq7X5SMqFzfd0T0sns7pRV-XIkOAdwt1URDlcDFUbGfCcnPrVM3hjJ1rFlYuzsh3bWCM7swnY-yQqOFM3B09v9CZg176ungZ5eZd-h9G_0hn5Ic0bkPMb0jkXBFBWWCpKy659EKrBhsBR9briw'}
13AuthorizationResponse
{
    "code": "e0563b1623f6ef1dc5c0f5995431788e:1c3b9d7ae170835ecc206e8052d29a6447c4f4f860d68f7393943ff4e94d2f7f697e9763df6c1e089d596d2dc3a8e38d74e425f610079244c2d317b772652404a704a4bffbdd2c835a1312a185c7f6abe72c1957f11b835e2126913c0ee1a1e544f56b50b2c8f6a07bd75c940e47ec04",
    "id_token": {
        "address": {},
        "aud": [
            "112563f6-1480-40b8-8e28-e072ca212c82"
        ],
        "auth_time": 1594284160,
        "c_hash": "9BlYMmjLenYWRL7crqifcA",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "email_verified": true,
        "exp": 1594284765,
        "favicon1": null,
        "fname": "cloudssot",
        "iat": 1594284165,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "19c54b1c-7e8e-45a1-a9c1-93bc743cce94",
        "lname": "tesrt",
        "nbf": 1594284165,
        "nonce": "tDrJsBWG4afYDFnj",
        "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "username": "cloudssotest"
    },
    "state": "8t2ggth6IiaqAFN0"
}
13phase<--<-- 4 --- AccessToken -->-->
13requestop_args: {'state': '8t2ggth6IiaqAFN0'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61830/authz_cb'}
13do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61830/authz_cb', 'code': 'e0563b1623f6ef1dc5c0f5995431788e:1c3b9d7ae170835ecc206e8052d29a6447c4f4f860d68f7393943ff4e94d2f7f697e9763df6c1e089d596d2dc3a8e38d74e425f610079244c2d317b772652404a704a4bffbdd2c835a1312a185c7f6abe72c1957f11b835e2126913c0ee1a1e544f56b50b2c8f6a07bd75c940e47ec04', 'state': '8t2ggth6IiaqAFN0', 'grant_type': 'authorization_code', 'client_id': '112563f6-1480-40b8-8e28-e072ca212c82'}, 'state': '8t2ggth6IiaqAFN0', 'authn_method': 'client_secret_basic'}
13AccessTokenRequest
{
    "code": "e0563b1623f6ef1dc5c0f5995431788e:1c3b9d7ae170835ecc206e8052d29a6447c4f4f860d68f7393943ff4e94d2f7f697e9763df6c1e089d596d2dc3a8e38d74e425f610079244c2d317b772652404a704a4bffbdd2c835a1312a185c7f6abe72c1957f11b835e2126913c0ee1a1e544f56b50b2c8f6a07bd75c940e47ec04",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61830/authz_cb",
    "state": "8t2ggth6IiaqAFN0"
}
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%3A61830%2Fauthz_cb&code=e0563b1623f6ef1dc5c0f5995431788e%3A1c3b9d7ae170835ecc206e8052d29a6447c4f4f860d68f7393943ff4e94d2f7f697e9763df6c1e089d596d2dc3a8e38d74e425f610079244c2d317b772652404a704a4bffbdd2c835a1312a185c7f6abe72c1957f11b835e2126913c0ee1a1e544f56b50b2c8f6a07bd75c940e47ec04&state=8t2ggth6IiaqAFN0
13http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token status_code:200
13response{'access_token': '5354f7eb-446f-400a-be54-a64ae5b929a9', 'token_type': 'Bearer', 'refresh_token': 'b6c87dff-bda1-4d97-a01d-a1e4b356ceba', 'expires_in': 893, 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjp7fSwiYXNkZmdoIjoiIiwiYXVkIjoiMTEyNTYzZjYtMTQ4MC00MGI4LThlMjgtZTA3MmNhMjEyYzgyIiwiYXV0aF90aW1lIjoxNTk0Mjg0MTYwLCJjX2hhc2giOiI5QmxZTW1qTGVuWVdSTDdjcnFpZmNBIiwiY291bnRyeSI6bnVsbCwiZW1haWwiOlt7IlR5cGUiOiJQcmltYXJ5IiwiVmFsdWUiOiJjbG91ZHNzb3Rlc3RAbWFpbGF6eS5jb20ifV0sImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJleHAiOjE1OTQyODQ3NjYsImZhdmljb24xIjpudWxsLCJmbmFtZSI6ImNsb3Vkc3NvdCIsImlhdCI6MTU5NDI4NDE2NiwiaXNzIjoiaHR0cHM6Ly9jbG91ZC1hcGkubG9naW5yYWRpdXMuY29tL3Nzby9vaWRjL3YyL2ludGVybmFsLW1heWFuay9vaWRjdGVzdCIsImp0aSI6ImJiM2RhMWQ1LWIwZTUtNDUwMy04MTdlLTk1YjBmNWZmMGJmNCIsImxuYW1lIjoidGVzcnQiLCJuYmYiOjE1OTQyODQxNjYsIm5vbmNlIjoidERySnNCV0c0YWZZREZuaiIsInN1YiI6IjBiN2Y5NDViOGM1ZjRhMzZhMzViZjQ5ZjcyMzliZmE0IiwidWlkIjoiMGI3Zjk0NWI4YzVmNGEzNmEzNWJmNDlmNzIzOWJmYTQiLCJ1c2VybmFtZSI6ImNsb3Vkc3NvdGVzdCJ9.ERiuaRRin-uAE-Yxn7i8nrKYwg4rsZGG9XgjcP38rHT3GVGttUIm-oBSiMp5ShUSmPtg3dn2svK5ySrD8noHlAA1rY08mqszudCru_sceDXFNLIQ-7WJ0N28jPDO3zS-dkHeMpskB4PAChQAllXsG23EZlkRX_7iWcAlwdK4BYGw7YVrIDPuJ95OL4kLEWM3__jxHdiQeTVZPgRmKpxQz_bmiEZqELZPKwcI-RE5PRfoRnq0u7bjkcYfVdI4YL7X-MG55XbVXivQX9t87G8uHJOOC9r3SvXvBjxA-WGujGUYDvu-xLlj_g1iJxmN1EGDhmOZzQaYPZ01BvKRhDElAA'}
13AccessTokenResponse
{
    "access_token": "5354f7eb-446f-400a-be54-a64ae5b929a9",
    "expires_in": 893,
    "id_token": {
        "address": {},
        "aud": [
            "112563f6-1480-40b8-8e28-e072ca212c82"
        ],
        "auth_time": 1594284160,
        "c_hash": "9BlYMmjLenYWRL7crqifcA",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "email_verified": true,
        "exp": 1594284766,
        "favicon1": null,
        "fname": "cloudssot",
        "iat": 1594284166,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "bb3da1d5-b0e5-4503-817e-95b0f5ff0bf4",
        "lname": "tesrt",
        "nbf": 1594284166,
        "nonce": "tDrJsBWG4afYDFnj",
        "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "username": "cloudssotest"
    },
    "refresh_token": "b6c87dff-bda1-4d97-a01d-a1e4b356ceba",
    "token_type": "Bearer"
}
13jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
13phase<--<-- 5 --- UserInfo -->-->
13do_user_info_request
kwargs:{'state': '8t2ggth6IiaqAFN0', '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 5354f7eb-446f-400a-be54-a64ae5b929a9'}}
13http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo status_code:200
13OpenIDSchema
{
    "address": {},
    "aud": "112563f6-1480-40b8-8e28-e072ca212c82",
    "country": null,
    "email": {
        "Type": "Primary",
        "Value": "cloudssotest@mailazy.com"
    },
    "email_verified": true,
    "exp": 1594284766,
    "favicon1": null,
    "fname": "cloudssot",
    "iat": 1594284166,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "90399098-bb2e-4960-a1b4-f7f5124b6905",
    "lname": "tesrt",
    "nbf": 1594284166,
    "nonce": "tDrJsBWG4afYDFnj",
    "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "username": "cloudssotest"
}
13OpenIDSchema
{
    "address": {},
    "aud": "112563f6-1480-40b8-8e28-e072ca212c82",
    "country": null,
    "email": {
        "Type": "Primary",
        "Value": "cloudssotest@mailazy.com"
    },
    "email_verified": true,
    "exp": 1594284766,
    "favicon1": null,
    "fname": "cloudssot",
    "iat": 1594284166,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "90399098-bb2e-4960-a1b4-f7f5124b6905",
    "lname": "tesrt",
    "nbf": 1594284166,
    "nonce": "tDrJsBWG4afYDFnj",
    "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