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

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": [
        "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"
}
0phase<--<-- 2 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "112563f6-1480-40b8-8e28-e072ca212c82",
    "nonce": "3cSohI6tJDgcFtA9",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "S5p1LbGIuemqA8u1"
}
0redirect urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=S5p1LbGIuemqA8u1&nonce=3cSohI6tJDgcFtA9&response_type=code&scope=openid&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=S5p1LbGIuemqA8u1&nonce=3cSohI6tJDgcFtA9&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61949%2Fauthz_cb&client_id=112563f6-1480-40b8-8e28-e072ca212c82
5responseResponse URL with query part
5response{'state': 'S5p1LbGIuemqA8u1', 'code': '6cbabc96d19c7eb9f7e238da5a59fa0e:460f117c67c8c9ee2149a40f0203d467eaa31a20340653d057b04bc55b369edd892a3d0bd2a693ed563bc37e10c8d8bb43b2285b024f43c4ba0cb4a6a574c53a370663d2d7ba701a79b9ae05fb26b9ba9be705b7a06022e46799b6c90b58462a2da3d7584359ae0cefb106837c42b4'}
5response{'state': 'S5p1LbGIuemqA8u1', 'code': '6cbabc96d19c7eb9f7e238da5a59fa0e:460f117c67c8c9ee2149a40f0203d467eaa31a20340653d057b04bc55b369edd892a3d0bd2a693ed563bc37e10c8d8bb43b2285b024f43c4ba0cb4a6a574c53a370663d2d7ba701a79b9ae05fb26b9ba9be705b7a06022e46799b6c90b58462a2da3d7584359ae0cefb106837c42b4'}
5AuthorizationResponse
{
    "code": "6cbabc96d19c7eb9f7e238da5a59fa0e:460f117c67c8c9ee2149a40f0203d467eaa31a20340653d057b04bc55b369edd892a3d0bd2a693ed563bc37e10c8d8bb43b2285b024f43c4ba0cb4a6a574c53a370663d2d7ba701a79b9ae05fb26b9ba9be705b7a06022e46799b6c90b58462a2da3d7584359ae0cefb106837c42b4",
    "state": "S5p1LbGIuemqA8u1"
}
5phase<--<-- 3 --- AccessToken -->-->
5requestop_args: {'state': 'S5p1LbGIuemqA8u1', 'authn_method': 'client_secret_post'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61949/authz_cb'}
5do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61949/authz_cb', 'code': '6cbabc96d19c7eb9f7e238da5a59fa0e:460f117c67c8c9ee2149a40f0203d467eaa31a20340653d057b04bc55b369edd892a3d0bd2a693ed563bc37e10c8d8bb43b2285b024f43c4ba0cb4a6a574c53a370663d2d7ba701a79b9ae05fb26b9ba9be705b7a06022e46799b6c90b58462a2da3d7584359ae0cefb106837c42b4', 'state': 'S5p1LbGIuemqA8u1', 'grant_type': 'authorization_code', 'client_id': '112563f6-1480-40b8-8e28-e072ca212c82'}, 'state': 'S5p1LbGIuemqA8u1', 'authn_method': 'client_secret_post'}
5AccessTokenRequest
{
    "client_id": "112563f6-1480-40b8-8e28-e072ca212c82",
    "client_secret": "78d3dbe3-10d1-497b-9357-8eed4593363d",
    "code": "6cbabc96d19c7eb9f7e238da5a59fa0e:460f117c67c8c9ee2149a40f0203d467eaa31a20340653d057b04bc55b369edd892a3d0bd2a693ed563bc37e10c8d8bb43b2285b024f43c4ba0cb4a6a574c53a370663d2d7ba701a79b9ae05fb26b9ba9be705b7a06022e46799b6c90b58462a2da3d7584359ae0cefb106837c42b4",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "state": "S5p1LbGIuemqA8u1"
}
5request_urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token
5request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
5requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61949%2Fauthz_cb&code=6cbabc96d19c7eb9f7e238da5a59fa0e%3A460f117c67c8c9ee2149a40f0203d467eaa31a20340653d057b04bc55b369edd892a3d0bd2a693ed563bc37e10c8d8bb43b2285b024f43c4ba0cb4a6a574c53a370663d2d7ba701a79b9ae05fb26b9ba9be705b7a06022e46799b6c90b58462a2da3d7584359ae0cefb106837c42b4&state=S5p1LbGIuemqA8u1&client_id=112563f6-1480-40b8-8e28-e072ca212c82&client_secret=78d3dbe3-10d1-497b-9357-8eed4593363d
5http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token status_code:200
5response{'access_token': '2c6e3c28-52f6-427b-af81-8686c286412e', 'token_type': 'Bearer', 'refresh_token': 'e8facee7-ad83-4a56-8edb-6ae92d9b0267', 'expires_in': 862, 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjp7ImNvdW50cnkiOm51bGwsImxvY2FsaXR5IjpudWxsLCJwb3N0YWxfY29kZSI6bnVsbCwicmVnaW9uIjpudWxsLCJzdHJlZXRfYWRkcmVzcyI6bnVsbH0sImFzZGZnaCI6IiIsImF1ZCI6IjExMjU2M2Y2LTE0ODAtNDBiOC04ZTI4LWUwNzJjYTIxMmM4MiIsImF1dGhfdGltZSI6MTU5NDI3ODYzMywiYmlydGhkYXRlIjoiMTk4Ny0wNy0wOCIsImNfaGFzaC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jpudWxsLCJ6b25laW5mbyI6bnVsbH0.WzLFhNkFQ-zCrAJo4L_M3bFrPeb31cHBxqjB1JE5ifrMMfovLmb_bhnADRsponXzQAP5MXokqSNake-5-UobuLvyUNSMD9CiAncXSYZF_6Yumbu2JYB3fKN0jbt4KJeHDxzj9Y6nhRKegR3a4jlkYQyFTxDCe11zX7E2s0l6KSJU5C7rRm-5wLeibdevzA2qj-uXQOs2BvV3kYBhZ9jZCvE1V_fhJ57rscsSswXDjkqUMBpVvJKXvcDp9aLcPhM9hzzfmbPdCNb9-sCFm4oegXfm9PEpqNUZ1c4QdI9v0ZgsHfPifHAy3YMM9rsvtvohPlCPbwc7dTKIySD0NqVl9g'}
6AccessTokenResponse
{
    "access_token": "2c6e3c28-52f6-427b-af81-8686c286412e",
    "expires_in": 862,
    "id_token": {
        "address": {
            "country": null,
            "locality": null,
            "postal_code": null,
            "region": null,
            "street_address": null
        },
        "aud": [
            "112563f6-1480-40b8-8e28-e072ca212c82"
        ],
        "auth_time": 1594278633,
        "birthdate": "1987-07-08",
        "c_hash": "hu6Cq0E3WpV73zMENOiHGw",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "email_verified": true,
        "exp": 1594279270,
        "family_name": "tesrt",
        "favicon1": null,
        "fname": "cloudssot",
        "gender": null,
        "given_name": "cloudssot",
        "iat": 1594278670,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "051fe06c-94b9-434a-ac66-1b3e1ba8de26",
        "lname": "tesrt",
        "locale": null,
        "middle_name": null,
        "name": "cloudssot tesrt",
        "nbf": 1594278670,
        "nickname": null,
        "nonce": "3cSohI6tJDgcFtA9",
        "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": "e8facee7-ad83-4a56-8edb-6ae92d9b0267",
    "token_type": "Bearer"
}
6jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
6phase<--<-- 4 --- Done -->-->
6end
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