Test Info

Issuerhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest
Profile[]
Test IDOP-ClientAuth-SecretPost-Static
Test descriptionAccess token request with client_secret_post authentication
Timestamp2020-07-09T09:24:50Z

Conditions


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": [
        "family_name",
        "UserName",
        "middle_name",
        "phone_number_verified",
        "name",
        "LastName",
        "website",
        "gender",
        "locale",
        "auth_time",
        "Uid",
        "Favicon",
        "birthdate",
        "acr",
        "FirstName",
        "CustomFields.customerid",
        "email_verified",
        "phone_number",
        "profile",
        "email",
        "address",
        "updated_at",
        "given_name",
        "nickname",
        "preferred_username",
        "picture",
        "zoneinfo",
        "Country"
    ],
    "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 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "112563f6-1480-40b8-8e28-e072ca212c82",
    "nonce": "1cjpb23ursST9kxn",
    "redirect_uri": "https://op.certification.openid.net:62346/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "AcyrCzk86lSUkTQX"
}
0redirect urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=AcyrCzk86lSUkTQX&nonce=1cjpb23ursST9kxn&response_type=code+token&scope=openid&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=AcyrCzk86lSUkTQX&nonce=1cjpb23ursST9kxn&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A62346%2Fauthz_cb&client_id=112563f6-1480-40b8-8e28-e072ca212c82
12http args{}
12responseURL with fragment
12responsestate=AcyrCzk86lSUkTQX&code=b4344733267cfc457b805390d0d8f075%3A02dbd207b735324bd68cd4a0c3d67555fc0241a929eb523a1177933ec4f1bfbbdf6ba6b6cb5f014a4d40d3d76350b1217fa9fd79bd0e281fcfd2aa4817b44595ddddb3f1ffd0d759d64c47a0b92725e91786c81930bc6a64d233d183cea07271f1f40561fd4388dc4af4dcbf39e4d693&access_token=915446bd-05d4-4b01-9a62-4bf699df928e&token_type=Bearer&expires_in=895
12response{'state': 'AcyrCzk86lSUkTQX', 'code': 'b4344733267cfc457b805390d0d8f075:02dbd207b735324bd68cd4a0c3d67555fc0241a929eb523a1177933ec4f1bfbbdf6ba6b6cb5f014a4d40d3d76350b1217fa9fd79bd0e281fcfd2aa4817b44595ddddb3f1ffd0d759d64c47a0b92725e91786c81930bc6a64d233d183cea07271f1f40561fd4388dc4af4dcbf39e4d693', 'access_token': '915446bd-05d4-4b01-9a62-4bf699df928e', 'token_type': 'Bearer', 'expires_in': 895}
12AuthorizationResponse
{
    "access_token": "915446bd-05d4-4b01-9a62-4bf699df928e",
    "code": "b4344733267cfc457b805390d0d8f075:02dbd207b735324bd68cd4a0c3d67555fc0241a929eb523a1177933ec4f1bfbbdf6ba6b6cb5f014a4d40d3d76350b1217fa9fd79bd0e281fcfd2aa4817b44595ddddb3f1ffd0d759d64c47a0b92725e91786c81930bc6a64d233d183cea07271f1f40561fd4388dc4af4dcbf39e4d693",
    "expires_in": 895,
    "state": "AcyrCzk86lSUkTQX",
    "token_type": "Bearer"
}
12phase<--<-- 3 --- AccessToken -->-->
12requestop_args: {'state': 'AcyrCzk86lSUkTQX', 'authn_method': 'client_secret_post'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:62346/authz_cb'}
12do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:62346/authz_cb', 'code': 'b4344733267cfc457b805390d0d8f075:02dbd207b735324bd68cd4a0c3d67555fc0241a929eb523a1177933ec4f1bfbbdf6ba6b6cb5f014a4d40d3d76350b1217fa9fd79bd0e281fcfd2aa4817b44595ddddb3f1ffd0d759d64c47a0b92725e91786c81930bc6a64d233d183cea07271f1f40561fd4388dc4af4dcbf39e4d693', 'state': 'AcyrCzk86lSUkTQX', 'grant_type': 'authorization_code', 'client_id': '112563f6-1480-40b8-8e28-e072ca212c82'}, 'state': 'AcyrCzk86lSUkTQX', 'authn_method': 'client_secret_post'}
12AccessTokenRequest
{
    "client_id": "112563f6-1480-40b8-8e28-e072ca212c82",
    "client_secret": "78d3dbe3-10d1-497b-9357-8eed4593363d",
    "code": "b4344733267cfc457b805390d0d8f075:02dbd207b735324bd68cd4a0c3d67555fc0241a929eb523a1177933ec4f1bfbbdf6ba6b6cb5f014a4d40d3d76350b1217fa9fd79bd0e281fcfd2aa4817b44595ddddb3f1ffd0d759d64c47a0b92725e91786c81930bc6a64d233d183cea07271f1f40561fd4388dc4af4dcbf39e4d693",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:62346/authz_cb",
    "state": "AcyrCzk86lSUkTQX"
}
12request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token
12request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
12requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A62346%2Fauthz_cb&code=b4344733267cfc457b805390d0d8f075%3A02dbd207b735324bd68cd4a0c3d67555fc0241a929eb523a1177933ec4f1bfbbdf6ba6b6cb5f014a4d40d3d76350b1217fa9fd79bd0e281fcfd2aa4817b44595ddddb3f1ffd0d759d64c47a0b92725e91786c81930bc6a64d233d183cea07271f1f40561fd4388dc4af4dcbf39e4d693&state=AcyrCzk86lSUkTQX&client_id=112563f6-1480-40b8-8e28-e072ca212c82&client_secret=78d3dbe3-10d1-497b-9357-8eed4593363d
12http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token status_code:200
12response{'access_token': '915446bd-05d4-4b01-9a62-4bf699df928e', 'token_type': 'Bearer', 'refresh_token': 'd49cdb5a-b181-4064-b2f3-267efc976c7f', 'expires_in': 894, 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjp7ImNvdW50cnkiOm51bGwsImxvY2FsaXR5IjpudWxsLCJwb3N0YWxfY29kZSI6bnVsbCwicmVnaW9uIjpudWxsLCJzdHJlZXRfYWRk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wsInN1YiI6IjBiN2Y5NDViOGM1ZjRhMzZhMzViZjQ5ZjcyMzliZmE0IiwidWlkIjoiMGI3Zjk0NWI4YzVmNGEzNmEzNWJmNDlmNzIzOWJmYTQiLCJ1cGRhdGVkX2F0IjoxNTYzODg1MTA5LCJ1c2VybmFtZSI6ImNsb3Vkc3NvdGVzdCIsIndlYnNpdGUiOm51bGwsInpvbmVpbmZvIjpudWxsfQ.JxqWyIMVPsXfYua5gdzhoxZA2iBiZWuXMkBDPBqWmOkXpk6_hbkwXjyuFfZG3v63_srW1psm3PgbJAMkl7jJ9NUxbYZvV7G1Cwf1C2JxFRmrEBlX-ctlGsUr9lT2vpM6iwgWzRLb8QGNL9CF2JJi8PtfTKooPprbO40L24J0f6SVaIBG8ouYmcVg-VLC9kpUGzdQygwA4299cwn-GsA47b-EUDesEo9t8PdrTjiW1rbfj5l4zowCG9NJBBI8W0XdCKEk3I-ctt9FrYspJYAr7iE4pjnjoGcnLnn1qFM4AFVZmBlu_tmJM5lacyElLauNhtOc21Uja399c6wySMioog'}
12AccessTokenResponse
{
    "access_token": "915446bd-05d4-4b01-9a62-4bf699df928e",
    "expires_in": 894,
    "id_token": {
        "address": {
            "country": null,
            "locality": null,
            "postal_code": null,
            "region": null,
            "street_address": null
        },
        "at_hash": "MR_Ee_xND81L8iVPcUstVw",
        "aud": [
            "112563f6-1480-40b8-8e28-e072ca212c82"
        ],
        "auth_time": 1594286685,
        "birthdate": "1987-07-08",
        "c_hash": "j419y1XFTVKjip-PZ_rxEg",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "email_verified": true,
        "exp": 1594287290,
        "family_name": "tesrt",
        "favicon1": null,
        "fname": "cloudssot",
        "gender": null,
        "given_name": "cloudssot",
        "iat": 1594286690,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "e506f9f0-25f3-4ba3-bf30-1ccde0705ee3",
        "lname": "tesrt",
        "locale": null,
        "middle_name": null,
        "name": "cloudssot tesrt",
        "nbf": 1594286690,
        "nickname": null,
        "nonce": "1cjpb23ursST9kxn",
        "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": "d49cdb5a-b181-4064-b2f3-267efc976c7f",
    "token_type": "Bearer"
}
12jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
12phase<--<-- 4 --- Done -->-->
12end
12assertionVerifyResponse
12conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
12conditionDone: status=OK

Result

PASSED