Test Info

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

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": [
        "email",
        "phone_number",
        "website",
        "FirstName",
        "gender",
        "zoneinfo",
        "family_name",
        "locale",
        "updated_at",
        "acr",
        "CustomFields.customerid",
        "Uid",
        "middle_name",
        "profile",
        "Favicon",
        "phone_number_verified",
        "name",
        "given_name",
        "nickname",
        "picture",
        "birthdate",
        "Country",
        "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": "4IRASp6ttFaSoVWI",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "response_type": "code",
    "scope": "openid phone",
    "state": "cFUE1ax72mzJdqrB"
}
0redirect urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=cFUE1ax72mzJdqrB&nonce=4IRASp6ttFaSoVWI&response_type=code&scope=openid+phone&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=cFUE1ax72mzJdqrB&nonce=4IRASp6ttFaSoVWI&response_type=code&scope=openid+phone&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': 'cFUE1ax72mzJdqrB', 'code': 'd0f3b879df8a7db57f193685ba8c6b31:0cdb19b6b15953c7787647d6d2b3893b14f070476a623007f6f55f003ddc20cd10e40d6ba445b85dafefebac6d5449d2d34319ec111d578249d4e39b99e90b5441cc4dd8b3e38bef2a31326cb52398df406c7cfe586b6910bddfc4ec0b100358c30eec2236a481897a911a3eaf4e0822'}
7response{'state': 'cFUE1ax72mzJdqrB', 'code': 'd0f3b879df8a7db57f193685ba8c6b31:0cdb19b6b15953c7787647d6d2b3893b14f070476a623007f6f55f003ddc20cd10e40d6ba445b85dafefebac6d5449d2d34319ec111d578249d4e39b99e90b5441cc4dd8b3e38bef2a31326cb52398df406c7cfe586b6910bddfc4ec0b100358c30eec2236a481897a911a3eaf4e0822'}
7AuthorizationResponse
{
    "code": "d0f3b879df8a7db57f193685ba8c6b31:0cdb19b6b15953c7787647d6d2b3893b14f070476a623007f6f55f003ddc20cd10e40d6ba445b85dafefebac6d5449d2d34319ec111d578249d4e39b99e90b5441cc4dd8b3e38bef2a31326cb52398df406c7cfe586b6910bddfc4ec0b100358c30eec2236a481897a911a3eaf4e0822",
    "state": "cFUE1ax72mzJdqrB"
}
7phase<--<-- 4 --- AccessToken -->-->
7requestop_args: {'state': 'cFUE1ax72mzJdqrB'}, 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': 'd0f3b879df8a7db57f193685ba8c6b31:0cdb19b6b15953c7787647d6d2b3893b14f070476a623007f6f55f003ddc20cd10e40d6ba445b85dafefebac6d5449d2d34319ec111d578249d4e39b99e90b5441cc4dd8b3e38bef2a31326cb52398df406c7cfe586b6910bddfc4ec0b100358c30eec2236a481897a911a3eaf4e0822', 'state': 'cFUE1ax72mzJdqrB', 'grant_type': 'authorization_code', 'client_id': '112563f6-1480-40b8-8e28-e072ca212c82'}, 'state': 'cFUE1ax72mzJdqrB', 'authn_method': 'client_secret_basic'}
7AccessTokenRequest
{
    "code": "d0f3b879df8a7db57f193685ba8c6b31:0cdb19b6b15953c7787647d6d2b3893b14f070476a623007f6f55f003ddc20cd10e40d6ba445b85dafefebac6d5449d2d34319ec111d578249d4e39b99e90b5441cc4dd8b3e38bef2a31326cb52398df406c7cfe586b6910bddfc4ec0b100358c30eec2236a481897a911a3eaf4e0822",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "state": "cFUE1ax72mzJdqrB"
}
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=d0f3b879df8a7db57f193685ba8c6b31%3A0cdb19b6b15953c7787647d6d2b3893b14f070476a623007f6f55f003ddc20cd10e40d6ba445b85dafefebac6d5449d2d34319ec111d578249d4e39b99e90b5441cc4dd8b3e38bef2a31326cb52398df406c7cfe586b6910bddfc4ec0b100358c30eec2236a481897a911a3eaf4e0822&state=cFUE1ax72mzJdqrB
7http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token status_code:200
7response{'access_token': 'dac2ec63-4a3b-417c-8a57-aa090bc76ab4', 'token_type': 'Bearer', 'refresh_token': '8938c826-8cc0-4957-8f25-87adc5014a21', 'expires_in': 861, 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjp7fSwiYXNkZmdoIjoiIiwiYXVkIjoiMTEyNTYzZjYtMTQ4MC00MGI4LThlMjgtZTA3MmNhMjEyYzgyIiwiYXV0aF90aW1lIjoxNTk0Mjc4ODY4LCJjX2hhc2giOiJieE9PazMyNWpGSmNhMXFmQlFueVdnIiwiY291bnRyeSI6bnVsbCwiZW1haWwiOlt7IlR5cGUiOiJQcmltYXJ5IiwiVmFsdWUiOiJjbG91ZHNzb3Rlc3RAbWFpbGF6eS5jb20ifV0sImV4cCI6MTU5NDI3OTUwNiwiZmF2aWNvbjEiOm51bGwsImZuYW1lIjoiY2xvdWRzc290IiwiaWF0IjoxNTk0Mjc4OTA2LCJpc3MiOiJodHRwczovL2Nsb3VkLWFwaS5sb2dpbnJhZGl1cy5jb20vc3NvL29pZGMvdjIvaW50ZXJuYWwtbWF5YW5rL29pZGN0ZXN0IiwianRpIjoiMWU1YjMwYTQtMTkwNi00Yzc3LWJmNWMtZGI2NDZmYjJiZTUyIiwibG5hbWUiOiJ0ZXNydCIsIm5iZiI6MTU5NDI3ODkwNiwibm9uY2UiOiI0SVJBU3A2dHRGYVNvVldJIiwicGhvbmVfbnVtYmVyIjoiKzE5MDI5MDk1NzE0IiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjp0cnVlLCJzdWIiOiIwYjdmOTQ1YjhjNWY0YTM2YTM1YmY0OWY3MjM5YmZhNCIsInVpZCI6IjBiN2Y5NDViOGM1ZjRhMzZhMzViZjQ5ZjcyMzliZmE0IiwidXNlcm5hbWUiOiJjbG91ZHNzb3Rlc3QifQ.ZL6NfaG7acGr9Tr8Fr_7pxnTWFgT-VeKv0tPryN1d0sdWh1OBH14M9BWnT1GAix2WBFQlnNPyWcPCCNgVj9be_HKqvWfXCSEnZMmedZXulin7P2Ej_ZXGQFGcDihjLttYPpIyQbTgquaExHmVc5jbG8qBRaJkc8xPAllKiPZtte0veaGXcbn_fzDi4rsX9GIMx7qo9qXtqq_haHVG-KWWmhsieRLOVbBZGgk8ioO3bQQzXUVdQWRGRHS4ASeI81F0MeJ65c4zJTDl5weFYvdGRrI-WyfSK5a8h0Z9iKUwJNRVQGxTZnWyj3uYYYXpDV9JRNGiColB0xbLGacjvpyhw'}
7AccessTokenResponse
{
    "access_token": "dac2ec63-4a3b-417c-8a57-aa090bc76ab4",
    "expires_in": 861,
    "id_token": {
        "address": {},
        "aud": [
            "112563f6-1480-40b8-8e28-e072ca212c82"
        ],
        "auth_time": 1594278868,
        "c_hash": "bxOOk325jFJca1qfBQnyWg",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "exp": 1594279506,
        "favicon1": null,
        "fname": "cloudssot",
        "iat": 1594278906,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "1e5b30a4-1906-4c77-bf5c-db646fb2be52",
        "lname": "tesrt",
        "nbf": 1594278906,
        "nonce": "4IRASp6ttFaSoVWI",
        "phone_number": "+19029095714",
        "phone_number_verified": true,
        "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "username": "cloudssotest"
    },
    "refresh_token": "8938c826-8cc0-4957-8f25-87adc5014a21",
    "token_type": "Bearer"
}
7jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
7phase<--<-- 5 --- UserInfo -->-->
7do_user_info_request
kwargs:{'state': 'cFUE1ax72mzJdqrB', 'method': 'GET', 'authn_method': 'bearer_header'}
7request{'body': None}
7request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo
7request_http_args{'headers': {'Authorization': 'Bearer dac2ec63-4a3b-417c-8a57-aa090bc76ab4'}}
7http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo status_code:200
7OpenIDSchema
{
    "address": {},
    "aud": "112563f6-1480-40b8-8e28-e072ca212c82",
    "country": null,
    "email": {
        "Type": "Primary",
        "Value": "cloudssotest@mailazy.com"
    },
    "exp": 1594279506,
    "favicon1": null,
    "fname": "cloudssot",
    "iat": 1594278906,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "dbd65d7b-74cd-450b-99dd-014b67702943",
    "lname": "tesrt",
    "nbf": 1594278906,
    "nonce": "4IRASp6ttFaSoVWI",
    "phone_number": "+19029095714",
    "phone_number_verified": true,
    "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "username": "cloudssotest"
}
7OpenIDSchema
{
    "address": {},
    "aud": "112563f6-1480-40b8-8e28-e072ca212c82",
    "country": null,
    "email": {
        "Type": "Primary",
        "Value": "cloudssotest@mailazy.com"
    },
    "exp": 1594279506,
    "favicon1": null,
    "fname": "cloudssot",
    "iat": 1594278906,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "dbd65d7b-74cd-450b-99dd-014b67702943",
    "lname": "tesrt",
    "nbf": 1594278906,
    "nonce": "4IRASp6ttFaSoVWI",
    "phone_number": "+19029095714",
    "phone_number_verified": true,
    "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "username": "cloudssotest"
}
7jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
7phase<--<-- 6 --- Done -->-->
7end
7assertionVerifyScopes
7conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
7assertionCheckHTTPResponse
7conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
7assertionVerifyResponse
7conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
7conditionDone: status=OK

Result

PASSED