Test Info

Issuerhttps://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest
Profile[]
Test IDOP-ClientAuth-Basic-Static
Test descriptionAccess token request with client_secret_basic authentication
Timestamp2020-07-09T07:11:02Z

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": [
        "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",
        "birthdate",
        "acr",
        "FirstName",
        "CustomFields.customerid",
        "email_verified",
        "phone_number",
        "profile"
    ],
    "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": "1awwQz5fIbLucL4e",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "I7AoeHqFndhjMwFX"
}
0redirect urlhttps://cloud-api.loginradius.com/sso/oidc/v2/oidctest/authorize?state=I7AoeHqFndhjMwFX&nonce=1awwQz5fIbLucL4e&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=I7AoeHqFndhjMwFX&nonce=1awwQz5fIbLucL4e&response_type=code&scope=openid&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': 'I7AoeHqFndhjMwFX', 'code': 'ec7063a3798fdb2d711a570e847fc707:355d8f0003c2a187a2361b597607cd8f8dd786d927c7e97779877e7d79f91244f97ebb8ac450099836cd63f065e7067929a3a9181b0f8318f48173917ab6e83d2d847ee8f77865dc711ce7a0b867508b0f92a08f657735f914a8511463dca6da6f7d407370c5f949b1aec6350009e60f'}
6response{'state': 'I7AoeHqFndhjMwFX', 'code': 'ec7063a3798fdb2d711a570e847fc707:355d8f0003c2a187a2361b597607cd8f8dd786d927c7e97779877e7d79f91244f97ebb8ac450099836cd63f065e7067929a3a9181b0f8318f48173917ab6e83d2d847ee8f77865dc711ce7a0b867508b0f92a08f657735f914a8511463dca6da6f7d407370c5f949b1aec6350009e60f'}
6AuthorizationResponse
{
    "code": "ec7063a3798fdb2d711a570e847fc707:355d8f0003c2a187a2361b597607cd8f8dd786d927c7e97779877e7d79f91244f97ebb8ac450099836cd63f065e7067929a3a9181b0f8318f48173917ab6e83d2d847ee8f77865dc711ce7a0b867508b0f92a08f657735f914a8511463dca6da6f7d407370c5f949b1aec6350009e60f",
    "state": "I7AoeHqFndhjMwFX"
}
6phase<--<-- 3 --- AccessToken -->-->
6requestop_args: {'state': 'I7AoeHqFndhjMwFX', 'authn_method': 'client_secret_basic'}, 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': 'ec7063a3798fdb2d711a570e847fc707:355d8f0003c2a187a2361b597607cd8f8dd786d927c7e97779877e7d79f91244f97ebb8ac450099836cd63f065e7067929a3a9181b0f8318f48173917ab6e83d2d847ee8f77865dc711ce7a0b867508b0f92a08f657735f914a8511463dca6da6f7d407370c5f949b1aec6350009e60f', 'state': 'I7AoeHqFndhjMwFX', 'grant_type': 'authorization_code', 'client_id': '112563f6-1480-40b8-8e28-e072ca212c82'}, 'state': 'I7AoeHqFndhjMwFX', 'authn_method': 'client_secret_basic'}
6AccessTokenRequest
{
    "code": "ec7063a3798fdb2d711a570e847fc707:355d8f0003c2a187a2361b597607cd8f8dd786d927c7e97779877e7d79f91244f97ebb8ac450099836cd63f065e7067929a3a9181b0f8318f48173917ab6e83d2d847ee8f77865dc711ce7a0b867508b0f92a08f657735f914a8511463dca6da6f7d407370c5f949b1aec6350009e60f",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61949/authz_cb",
    "state": "I7AoeHqFndhjMwFX"
}
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=ec7063a3798fdb2d711a570e847fc707%3A355d8f0003c2a187a2361b597607cd8f8dd786d927c7e97779877e7d79f91244f97ebb8ac450099836cd63f065e7067929a3a9181b0f8318f48173917ab6e83d2d847ee8f77865dc711ce7a0b867508b0f92a08f657735f914a8511463dca6da6f7d407370c5f949b1aec6350009e60f&state=I7AoeHqFndhjMwFX
7http response
url:https://cloud-api.loginradius.com/sso/oidc/v2/oidctest/token status_code:200
7response{'access_token': '2c6e3c28-52f6-427b-af81-8686c286412e', 'token_type': 'Bearer', 'refresh_token': 'e8facee7-ad83-4a56-8edb-6ae92d9b0267', 'expires_in': 870, 'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMSIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjp7ImNvdW50cnkiOm51bGwsImxvY2FsaXR5IjpudWxsLCJwb3N0YWxfY29kZSI6bnVsbCwicmVnaW9uIjpudWxsLCJzdHJlZXRfYWRkcmVzcyI6bnVsbH0sImFzZGZnaCI6IiIsImF1ZCI6IjExMjU2M2Y2LTE0ODAtNDBiOC04ZTI4LWUwNzJjYTIxMmM4MiIsImF1dGhfdGltZSI6MTU5NDI3ODYzMywiYmlydGhkYXRlIjoiMTk4Ny0wNy0wOCIsImNfaGFzaCI6IkRJNzh0cjZ4LVRwTHZrOVpob0FHX1EiLCJjb3VudHJ5IjpudWxsLCJlbWFpbCI6W3siVHlwZSI6IlByaW1hcnkiLCJWYWx1Z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aRGnAcfHuD1WX5Uwv4ERaEnj2uzByxJ9LD0Fy3VnUPOFZnDTBz6GzxaLFOupvwdvXYWicifKUKAdSRZNAI484j4xAXAoHYLFfT8kICiVO-NB96FfFTHb45HmAlbgX1XyKMvm_tSB0BlJEZp55pM3XJEzDvPZieOwPyngoAjLgv2Fqm4l6LlRGmMAjp3cSf_0VBsgFPHuIdW1dw-hTu1MVtHAtSQBn2CWignf_EWHFByaoc1Kix-UBMHzMTzJZAODdVBORSYHacYg'}
7AccessTokenResponse
{
    "access_token": "2c6e3c28-52f6-427b-af81-8686c286412e",
    "expires_in": 870,
    "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": "DI78tr6x-TpLvk9ZhoAG_Q",
        "country": null,
        "email": {
            "Type": "Primary",
            "Value": "cloudssotest@mailazy.com"
        },
        "email_verified": true,
        "exp": 1594279262,
        "family_name": "tesrt",
        "favicon1": null,
        "fname": "cloudssot",
        "gender": null,
        "given_name": "cloudssot",
        "iat": 1594278662,
        "iss": "https://cloud-api.loginradius.com/sso/oidc/v2/internal-mayank/oidctest",
        "jti": "ad7fe49e-0f00-4eee-b8c9-ebb29ba77aa9",
        "lname": "tesrt",
        "locale": null,
        "middle_name": null,
        "name": "cloudssot tesrt",
        "nbf": 1594278662,
        "nickname": null,
        "nonce": "1awwQz5fIbLucL4e",
        "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"
}
7jws header{'alg': 'RS256', 'kid': '201', 'typ': 'JWT'}
7phase<--<-- 4 --- Done -->-->
7end
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