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-09T07:14:56Z

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",
        "email",
        "phone_number",
        "website",
        "FirstName",
        "gender",
        "zoneinfo",
        "Uid",
        "family_name",
        "locale",
        "updated_at",
        "acr",
        "CustomFields.customerid",
        "middle_name",
        "profile",
        "birthdate",
        "Country",
        "Favicon",
        "phone_number_verified",
        "name",
        "given_name",
        "nickname",
        "picture"
    ],
    "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": "4n9mCQTkWGDekb5L",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "response_type": "code",
    "scope": "openid email",
    "state": "ilmBgJeSzbFwMmop"
}
0redirect urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=ilmBgJeSzbFwMmop&nonce=4n9mCQTkWGDekb5L&response_type=code&scope=openid+email&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=ilmBgJeSzbFwMmop&nonce=4n9mCQTkWGDekb5L&response_type=code&scope=openid+email&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': 'ilmBgJeSzbFwMmop', 'code': '5166cd4af5fefbc907cbe2ba69ebfec4:876996719b2541be5c7a55321a15713b20bd64ff618ac52cd46ef2b35ca9a4bb8ade1ae22bc62cfcc7d8cf3801c93d09982d7bcd1d73efa04648ac2153af65bdd261f113d08733f83c8f2b28067d9fee932ecdf26e88f8eff751d5292c253ce49bef2a31f5bcfee0f84d307a5e9c1f48'}
6response{'state': 'ilmBgJeSzbFwMmop', 'code': '5166cd4af5fefbc907cbe2ba69ebfec4:876996719b2541be5c7a55321a15713b20bd64ff618ac52cd46ef2b35ca9a4bb8ade1ae22bc62cfcc7d8cf3801c93d09982d7bcd1d73efa04648ac2153af65bdd261f113d08733f83c8f2b28067d9fee932ecdf26e88f8eff751d5292c253ce49bef2a31f5bcfee0f84d307a5e9c1f48'}
6AuthorizationResponse
{
    "code": "5166cd4af5fefbc907cbe2ba69ebfec4:876996719b2541be5c7a55321a15713b20bd64ff618ac52cd46ef2b35ca9a4bb8ade1ae22bc62cfcc7d8cf3801c93d09982d7bcd1d73efa04648ac2153af65bdd261f113d08733f83c8f2b28067d9fee932ecdf26e88f8eff751d5292c253ce49bef2a31f5bcfee0f84d307a5e9c1f48",
    "state": "ilmBgJeSzbFwMmop"
}
6phase<--<-- 4 --- AccessToken -->-->
6requestop_args: {'state': 'ilmBgJeSzbFwMmop'}, 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': '5166cd4af5fefbc907cbe2ba69ebfec4:876996719b2541be5c7a55321a15713b20bd64ff618ac52cd46ef2b35ca9a4bb8ade1ae22bc62cfcc7d8cf3801c93d09982d7bcd1d73efa04648ac2153af65bdd261f113d08733f83c8f2b28067d9fee932ecdf26e88f8eff751d5292c253ce49bef2a31f5bcfee0f84d307a5e9c1f48', 'state': 'ilmBgJeSzbFwMmop', 'grant_type': 'authorization_code', 'client_id': '112563f6-1480-40b8-8e28-e072ca212c82'}, 'state': 'ilmBgJeSzbFwMmop', 'authn_method': 'client_secret_basic'}
6AccessTokenRequest
{
    "code": "5166cd4af5fefbc907cbe2ba69ebfec4:876996719b2541be5c7a55321a15713b20bd64ff618ac52cd46ef2b35ca9a4bb8ade1ae22bc62cfcc7d8cf3801c93d09982d7bcd1d73efa04648ac2153af65bdd261f113d08733f83c8f2b28067d9fee932ecdf26e88f8eff751d5292c253ce49bef2a31f5bcfee0f84d307a5e9c1f48",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "state": "ilmBgJeSzbFwMmop"
}
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=5166cd4af5fefbc907cbe2ba69ebfec4%3A876996719b2541be5c7a55321a15713b20bd64ff618ac52cd46ef2b35ca9a4bb8ade1ae22bc62cfcc7d8cf3801c93d09982d7bcd1d73efa04648ac2153af65bdd261f113d08733f83c8f2b28067d9fee932ecdf26e88f8eff751d5292c253ce49bef2a31f5bcfee0f84d307a5e9c1f48&state=ilmBgJeSzbFwMmop
6http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token status_code:200
6response{'access_token': 'dac2ec63-4a3b-417c-8a57-aa090bc76ab4', 'token_type': 'Bearer', 'refresh_token': '8938c826-8cc0-4957-8f25-87adc5014a21', 'expires_in': 871, 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjp7fSwiYXNkZmdoIjoiIiwiYXVkIjoiMTEyNTYzZjYtMTQ4MC00MGI4LThlMjgtZTA3MmNhMjEyYzgyIiwiYXV0aF90aW1lIjoxNTk0Mjc4ODY4LCJjX2hhc2giOiJRU3VuUVR4N0syNWxzQTNQSnluX0ZRIiwiY291bnRyeSI6bnVsbCwiZW1haWwiOlt7IlR5cGUiOiJQcmltYXJ5IiwiVmFsdWUiOiJjbG91ZHNzb3Rlc3RAbWFpbGF6eS5jb20ifV0sImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJleHAiOjE1OTQyNzk0OTYsImZhdmljb24xIjpudWxsLCJmbmFtZSI6ImNsb3Vkc3NvdCIsImlhdCI6MTU5NDI3ODg5NiwiaXNzIjoiaHR0cHM6Ly9jbG91ZC1hcGkubG9naW5yYWRpdXMuY29tL3Nzby9vaWRjL3YyL2ludGVybmFsLW1heWFuay9vaWRjdGVzdCIsImp0aSI6Ijc3MjhkZDgzLTc1ODUtNDBmZC05MTU1LWRjMTI4Yzc4MmM0OCIsImxuYW1lIjoidGVzcnQiLCJuYmYiOjE1OTQyNzg4OTYsIm5vbmNlIjoiNG45bUNRVGtXR0Rla2I1TCIsInN1YiI6IjBiN2Y5NDViOGM1ZjRhMzZhMzViZjQ5ZjcyMzliZmE0IiwidWlkIjoiMGI3Zjk0NWI4YzVmNGEzNmEzNWJmNDlmNzIzOWJmYTQiLCJ1c2VybmFtZSI6ImNsb3Vkc3NvdGVzdCJ9.SPmQPQVHiIyJEV03JsqXDibSnfX13gP1yiJ8N1LIJ_7QVakeTdBd73Fa41BknKgY3uBF9L3-fZ30aukFRlGL_FEPFPtB9T_MQTeN_-cNY7hZ6CxaxESodsT_Z3kQgfRDKFi-AmgYjWCv1VpBPS-2zENMmO0h04FhDbx99HRy9POAXeTQ9bjvbu7yoMWo19nTrSu-NyEmG8c8vqNuCqfB1YOJW3tK74ry6WW84oAtNeOXN9kB1YORe6xYgbpUZ_Q96O9M1XsB_GXH2qYx6o2hmdFnxQ2oXyn4nN7XFCiHZZzfW4BjmJFd8pc3sES0fbgxGpn0L5thgq2vsJZnOwjWXQ'}
6AccessTokenResponse
{
    "access_token": "dac2ec63-4a3b-417c-8a57-aa090bc76ab4",
    "expires_in": 871,
    "id_token": {
        "address": {},
        "aud": [
            "112563f6-1480-40b8-8e28-e072ca212c82"
        ],
        "auth_time": 1594278868,
        "c_hash": "QSunQTx7K25lsA3PJyn_FQ",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "email_verified": true,
        "exp": 1594279496,
        "favicon1": null,
        "fname": "cloudssot",
        "iat": 1594278896,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "7728dd83-7585-40fd-9155-dc128c782c48",
        "lname": "tesrt",
        "nbf": 1594278896,
        "nonce": "4n9mCQTkWGDekb5L",
        "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "username": "cloudssotest"
    },
    "refresh_token": "8938c826-8cc0-4957-8f25-87adc5014a21",
    "token_type": "Bearer"
}
6jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
6phase<--<-- 5 --- UserInfo -->-->
6do_user_info_request
kwargs:{'state': 'ilmBgJeSzbFwMmop', 'method': 'GET', 'authn_method': 'bearer_header'}
6request{'body': None}
6request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo
6request_http_args{'headers': {'Authorization': 'Bearer dac2ec63-4a3b-417c-8a57-aa090bc76ab4'}}
6http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo status_code:200
6OpenIDSchema
{
    "address": {},
    "aud": "112563f6-1480-40b8-8e28-e072ca212c82",
    "country": null,
    "email": {
        "Type": "Primary",
        "Value": "cloudssotest@mailazy.com"
    },
    "email_verified": true,
    "exp": 1594279496,
    "favicon1": null,
    "fname": "cloudssot",
    "iat": 1594278896,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "18310c9a-d1f6-45c7-b639-ec8e470cf613",
    "lname": "tesrt",
    "nbf": 1594278896,
    "nonce": "4n9mCQTkWGDekb5L",
    "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "username": "cloudssotest"
}
6OpenIDSchema
{
    "address": {},
    "aud": "112563f6-1480-40b8-8e28-e072ca212c82",
    "country": null,
    "email": {
        "Type": "Primary",
        "Value": "cloudssotest@mailazy.com"
    },
    "email_verified": true,
    "exp": 1594279496,
    "favicon1": null,
    "fname": "cloudssot",
    "iat": 1594278896,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "18310c9a-d1f6-45c7-b639-ec8e470cf613",
    "lname": "tesrt",
    "nbf": 1594278896,
    "nonce": "4n9mCQTkWGDekb5L",
    "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "username": "cloudssotest"
}
6jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
6phase<--<-- 6 --- Done -->-->
6end
6assertionVerifyScopes
6conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
6assertionCheckHTTPResponse
6conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
6assertionVerifyResponse
6conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
6conditionDone: status=OK

Result

PASSED