Test Info

Issuerhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest
Profile[]
Test IDOP-Req-claims_locales
Test descriptionProviding claims_locales
Timestamp2020-07-09T07:16:02Z

Conditions


check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Note -->-->
4phase<--<-- 1 --- Webfinger -->-->
4not expected to doWebFinger
4phase<--<-- 2 --- Discovery -->-->
4provider_config
kwargs:{'issuer': 'https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest'}
4http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/.well-known/openid-configuration status_code:200
4ProviderConfigurationResponse
{
    "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",
        "acr",
        "FirstName",
        "CustomFields.customerid",
        "email_verified",
        "phone_number",
        "profile",
        "email",
        "address",
        "updated_at",
        "given_name",
        "nickname",
        "preferred_username",
        "picture",
        "zoneinfo",
        "Country",
        "family_name",
        "UserName",
        "middle_name",
        "phone_number_verified",
        "name",
        "LastName",
        "website",
        "gender",
        "locale",
        "auth_time",
        "Uid",
        "Favicon"
    ],
    "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"
}
4phase<--<-- 3 --- Registration -->-->
4not expected to doDynamic registration
4phase<--<-- 4 --- AsyncAuthn -->-->
4AuthorizationRequest
{
    "claims_locales": "se",
    "client_id": "112563f6-1480-40b8-8e28-e072ca212c82",
    "nonce": "1NQouemf4WvNxEKz",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "fcfVaCCgD8TtiOnP"
}
4redirect urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=fcfVaCCgD8TtiOnP&nonce=1NQouemf4WvNxEKz&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61949%2Fauthz_cb&claims_locales=se&client_id=112563f6-1480-40b8-8e28-e072ca212c82
4redirecthttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=fcfVaCCgD8TtiOnP&nonce=1NQouemf4WvNxEKz&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61949%2Fauthz_cb&claims_locales=se&client_id=112563f6-1480-40b8-8e28-e072ca212c82
10responseResponse URL with query part
10response{'state': 'fcfVaCCgD8TtiOnP', 'code': '320257873180e77f028f385c1a4bc342:a33c0a161d0b15bf1244790edaf0328e2fa4eacfe5b1f94d06264778e8b61d4f68adf73755e5553747cb49340e18086820630e7a026612b54f8912cd1fd89ec0db498425c0144196a74eceab439dff25f06f17d2558fef3bdd07bb7131d57dbd1403a94e4232aa73c344d719aca3c0f5'}
10response{'state': 'fcfVaCCgD8TtiOnP', 'code': '320257873180e77f028f385c1a4bc342:a33c0a161d0b15bf1244790edaf0328e2fa4eacfe5b1f94d06264778e8b61d4f68adf73755e5553747cb49340e18086820630e7a026612b54f8912cd1fd89ec0db498425c0144196a74eceab439dff25f06f17d2558fef3bdd07bb7131d57dbd1403a94e4232aa73c344d719aca3c0f5'}
10AuthorizationResponse
{
    "code": "320257873180e77f028f385c1a4bc342:a33c0a161d0b15bf1244790edaf0328e2fa4eacfe5b1f94d06264778e8b61d4f68adf73755e5553747cb49340e18086820630e7a026612b54f8912cd1fd89ec0db498425c0144196a74eceab439dff25f06f17d2558fef3bdd07bb7131d57dbd1403a94e4232aa73c344d719aca3c0f5",
    "state": "fcfVaCCgD8TtiOnP"
}
10phase<--<-- 5 --- AccessToken -->-->
10requestop_args: {'state': 'fcfVaCCgD8TtiOnP'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61949/authz_cb'}
10do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61949/authz_cb', 'code': '320257873180e77f028f385c1a4bc342:a33c0a161d0b15bf1244790edaf0328e2fa4eacfe5b1f94d06264778e8b61d4f68adf73755e5553747cb49340e18086820630e7a026612b54f8912cd1fd89ec0db498425c0144196a74eceab439dff25f06f17d2558fef3bdd07bb7131d57dbd1403a94e4232aa73c344d719aca3c0f5', 'state': 'fcfVaCCgD8TtiOnP', 'grant_type': 'authorization_code', 'client_id': '112563f6-1480-40b8-8e28-e072ca212c82'}, 'state': 'fcfVaCCgD8TtiOnP', 'authn_method': 'client_secret_basic'}
10AccessTokenRequest
{
    "code": "320257873180e77f028f385c1a4bc342:a33c0a161d0b15bf1244790edaf0328e2fa4eacfe5b1f94d06264778e8b61d4f68adf73755e5553747cb49340e18086820630e7a026612b54f8912cd1fd89ec0db498425c0144196a74eceab439dff25f06f17d2558fef3bdd07bb7131d57dbd1403a94e4232aa73c344d719aca3c0f5",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "state": "fcfVaCCgD8TtiOnP"
}
10request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token
10request_http_args{'headers': {'Authorization': 'Basic MTEyNTYzZjYtMTQ4MC00MGI4LThlMjgtZTA3MmNhMjEyYzgyOjc4ZDNkYmUzLTEwZDEtNDk3Yi05MzU3LThlZWQ0NTkzMzYzZA==', 'Content-Type': 'application/x-www-form-urlencoded'}}
10requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61949%2Fauthz_cb&code=320257873180e77f028f385c1a4bc342%3Aa33c0a161d0b15bf1244790edaf0328e2fa4eacfe5b1f94d06264778e8b61d4f68adf73755e5553747cb49340e18086820630e7a026612b54f8912cd1fd89ec0db498425c0144196a74eceab439dff25f06f17d2558fef3bdd07bb7131d57dbd1403a94e4232aa73c344d719aca3c0f5&state=fcfVaCCgD8TtiOnP
10http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token status_code:200
10response{'access_token': 'c9b9366b-e04e-4530-b47e-d19abb309e6c', 'token_type': 'Bearer', 'refresh_token': '9ae45d11-778a-4fcd-afc0-b8d1235d4e93', 'expires_in': 879, 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjp7ImNvdW50cnkiOm51bGwsImxvY2FsaXR5IjpudWxsLCJwb3N0YWxfY29kZSI6bnVsbCwicmVnaW9uIjpudWxsLCJzdHJlZXRfYWRkcmVzcyI6bnVsbH0sImFzZGZnaCI6IiIsImF1ZCI6IjExMjU2M2Y2LTE0ODAtNDBiOC04ZTI4LWUwNzJjYTIxMmM4MiIsImF1dGhfdGltZSI6MTU5NDI3ODk0MSwiYmlydGhkYXRlIjoiMTk4Ny0wNy0wOCIsImNfaGFzaCI6IkpzSGNuTlpieHo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nVsbH0.L9teJaVGN7eVmnc-UZ-I4tEg_eHZD34uL1GjQF7Q8S5_51Oa86Z7ArMDaXA9eVF9G8NaNyjeayllORrFO5VetHqmFNFygCkYuFd_vG3VI4LOJuVgN5bSl3A7DLy5pr8IFaLMQS-W4X9oQs-n0c7FXQ1gwx9ZCmKVFIXm0EKMSo-3w5WlhX4TI91eOdTDbfHLxQcO9ToD4lmzqyPhApZJCpFZKAhWRPvYvuuXdkzS-szteP7M6_vSLZHxXiadcnKJ0Q3zOKw_ynEFgNFH8J6pgD4OFqJ93GjmPCNnkzFcZ7A04I05356p962hY53YKthhOlvjfSCqIZ28sDOBLHMSlQ'}
11AccessTokenResponse
{
    "access_token": "c9b9366b-e04e-4530-b47e-d19abb309e6c",
    "expires_in": 879,
    "id_token": {
        "address": {
            "country": null,
            "locality": null,
            "postal_code": null,
            "region": null,
            "street_address": null
        },
        "aud": [
            "112563f6-1480-40b8-8e28-e072ca212c82"
        ],
        "auth_time": 1594278941,
        "birthdate": "1987-07-08",
        "c_hash": "JsHcnNZbxz1z56o8aPQgug",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "email_verified": true,
        "exp": 1594279561,
        "family_name": "tesrt",
        "favicon1": null,
        "fname": "cloudssot",
        "gender": null,
        "given_name": "cloudssot",
        "iat": 1594278961,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "cf62c290-1a2c-4c17-a035-375ad940a133",
        "lname": "tesrt",
        "locale": null,
        "middle_name": null,
        "name": "cloudssot tesrt",
        "nbf": 1594278961,
        "nickname": null,
        "nonce": "1NQouemf4WvNxEKz",
        "phone_number": "+19029095714",
        "phone_number_verified": true,
        "picture": null,
        "preferred_username": "cloudssotest",
        "profile": null,
        "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
        "updated_at": 1563885109,
        "username": "cloudssotest",
        "website": null,
        "zoneinfo": null
    },
    "refresh_token": "9ae45d11-778a-4fcd-afc0-b8d1235d4e93",
    "token_type": "Bearer"
}
11jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
11phase<--<-- 6 --- UserInfo -->-->
11do_user_info_request
kwargs:{'state': 'fcfVaCCgD8TtiOnP', 'method': 'GET', 'authn_method': 'bearer_header'}
11request{'body': None}
11request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo
11request_http_args{'headers': {'Authorization': 'Bearer c9b9366b-e04e-4530-b47e-d19abb309e6c'}}
11http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest/userinfo status_code:200
11OpenIDSchema
{
    "address": {
        "country": null,
        "locality": null,
        "postal_code": null,
        "region": null,
        "street_address": null
    },
    "aud": "112563f6-1480-40b8-8e28-e072ca212c82",
    "birthdate": "1987-07-08",
    "country": null,
    "email": {
        "Type": "Primary",
        "Value": "cloudssotest@mailazy.com"
    },
    "email_verified": true,
    "exp": 1594279562,
    "family_name": "tesrt",
    "favicon1": null,
    "fname": "cloudssot",
    "gender": null,
    "given_name": "cloudssot",
    "iat": 1594278962,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "9cfd6707-b21a-4fc0-b058-274229aa00ff",
    "lname": "tesrt",
    "locale": null,
    "middle_name": null,
    "name": "cloudssot tesrt",
    "nbf": 1594278962,
    "nickname": null,
    "nonce": "1NQouemf4WvNxEKz",
    "phone_number": "+19029095714",
    "phone_number_verified": true,
    "picture": null,
    "preferred_username": "cloudssotest",
    "profile": null,
    "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "updated_at": 1563885109,
    "username": "cloudssotest",
    "website": null,
    "zoneinfo": null
}
11OpenIDSchema
{
    "address": {
        "country": null,
        "locality": null,
        "postal_code": null,
        "region": null,
        "street_address": null
    },
    "aud": "112563f6-1480-40b8-8e28-e072ca212c82",
    "birthdate": "1987-07-08",
    "country": null,
    "email": {
        "Type": "Primary",
        "Value": "cloudssotest@mailazy.com"
    },
    "email_verified": true,
    "exp": 1594279562,
    "family_name": "tesrt",
    "favicon1": null,
    "fname": "cloudssot",
    "gender": null,
    "given_name": "cloudssot",
    "iat": 1594278962,
    "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
    "jti": "9cfd6707-b21a-4fc0-b058-274229aa00ff",
    "lname": "tesrt",
    "locale": null,
    "middle_name": null,
    "name": "cloudssot tesrt",
    "nbf": 1594278962,
    "nickname": null,
    "nonce": "1NQouemf4WvNxEKz",
    "phone_number": "+19029095714",
    "phone_number_verified": true,
    "picture": null,
    "preferred_username": "cloudssotest",
    "profile": null,
    "sub": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "uid": "0b7f945b8c5f4a36a35bf49f7239bfa4",
    "updated_at": 1563885109,
    "username": "cloudssotest",
    "website": null,
    "zoneinfo": null
}
11jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
11phase<--<-- 7 --- DisplayUserInfo -->-->
11phase<--<-- 8 --- Done -->-->
11end
11assertionCheckHTTPResponse
11conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
11conditionDone: status=OK

Result

PASSED