Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-ClientAuth-Basic-Dynamic
Test descriptionAccess token request with client_secret_basic authentication
Timestamp2019-06-17T15:09:33Z

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://isamfed.com:30443/test'}
0http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
0ProviderConfigurationResponse
{
    "authorization_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize",
    "claims_parameter_supported": false,
    "claims_supported": [
        "realmName",
        "preferred_username",
        "given_name",
        "uid",
        "upn",
        "groupIds",
        "employee_id",
        "name",
        "tenantId",
        "mobile_number",
        "department",
        "job_title",
        "family_name",
        "email"
    ],
    "device_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/device_authorize",
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:jwt-bearer",
        "implicit",
        "urn:ietf:params:oauth:grant-type:saml2-bearer",
        "urn:ietf:params:oauth:grant-type:device_code",
        "client_credentials",
        "password",
        "authorization_code",
        "refresh_token"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA-OAEP-256"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC-HS256"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256"
    ],
    "introspect_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/introspect",
    "issuer": "https://isamfed.com:30443/test",
    "jwks_uri": "https://isamfed.com:30443/mga/sps/jwks",
    "name": "OIDCDefinition",
    "poc": "https://isamfed.com:30443/mga/",
    "registration_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition",
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "response_modes_supported": [
        "fragment",
        "form_post"
    ],
    "response_types_supported": [
        "token",
        "id_token",
        "token id_token",
        "code",
        "code id_token",
        "code token id_token",
        "code token",
        "none"
    ],
    "revocation_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/revoke",
    "subject_types_supported": [
        "public"
    ],
    "token_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/token",
    "token_endpoint_auth_methods_supported": [
        "private_key_jwt",
        "client_secret_post",
        "client_secret_basic"
    ],
    "user_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/user_authorize",
    "userinfo_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo",
    "userinfo_signing_alg_values_supported": [
        "RS256"
    ],
    "version": "3.0"
}
0phase<--<-- 2 --- Registration -->-->
0register
kwargs:{'response_types': ['code token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61707/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61707/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61707/static/jwks_61707.json', 'token_endpoint_auth_method': 'client_secret_basic'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61707/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61707/authz_cb"
    ],
    "response_types": [
        "code token"
    ],
    "token_endpoint_auth_method": "client_secret_basic"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "gKBkcoSdrdBGR2CVlMJ9",
    "client_id_issued_at": 1560784171,
    "client_secret": "ZxM67AxxBhmiKs8vK20O",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61707/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61707/authz_cb"
    ],
    "registration_access_token": "PJQSwobreLKSkEbjdqMi",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=gKBkcoSdrdBGR2CVlMJ9",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "client_secret_basic"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "gKBkcoSdrdBGR2CVlMJ9",
    "nonce": "n9RvcTBrQQY3wDLZ",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "cHaIak9E7TLQ1Uiy"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=cHaIak9E7TLQ1Uiy&nonce=n9RvcTBrQQY3wDLZ&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=gKBkcoSdrdBGR2CVlMJ9
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=cHaIak9E7TLQ1Uiy&nonce=n9RvcTBrQQY3wDLZ&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=gKBkcoSdrdBGR2CVlMJ9
2http args{}
2responseURL with fragment
2responseaccess_token=m7VurOuS41DnxAdCKZeg&state=cHaIak9E7TLQ1Uiy&expires_in=3599&token_type=bearer&code=5PscSsDT0XDaHU1C3BzTfQTppuzxbb&scope=openid
2response{'access_token': 'm7VurOuS41DnxAdCKZeg', 'state': 'cHaIak9E7TLQ1Uiy', 'expires_in': 3599, 'token_type': 'bearer', 'code': '5PscSsDT0XDaHU1C3BzTfQTppuzxbb', 'scope': 'openid'}
2AuthorizationResponse
{
    "access_token": "m7VurOuS41DnxAdCKZeg",
    "code": "5PscSsDT0XDaHU1C3BzTfQTppuzxbb",
    "expires_in": 3599,
    "scope": "openid",
    "state": "cHaIak9E7TLQ1Uiy",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'cHaIak9E7TLQ1Uiy', 'authn_method': 'client_secret_basic'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': '5PscSsDT0XDaHU1C3BzTfQTppuzxbb', 'state': 'cHaIak9E7TLQ1Uiy', 'grant_type': 'authorization_code', 'client_id': 'gKBkcoSdrdBGR2CVlMJ9'}, 'state': 'cHaIak9E7TLQ1Uiy', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "5PscSsDT0XDaHU1C3BzTfQTppuzxbb",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "state": "cHaIak9E7TLQ1Uiy"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Authorization': 'Basic Z0tCa2NvU2RyZEJHUjJDVmxNSjk6WnhNNjdBeHhCaG1pS3M4dksyME8=', 'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&code=5PscSsDT0XDaHU1C3BzTfQTppuzxbb&state=cHaIak9E7TLQ1Uiy
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'vw7A1JEKW4JVMDnh8Am1', 'refresh_token': 'J0lUMxWSMbOkhrNmJnaWGn5J4cP2qtoWhUbsZnSd', 'scope': 'openid', 'id_token': 'eyJhbGciOiJS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OjnHcecFnX07TJdQDU0zD6EB7Hj_Hhu3HdcG_z3MN_uJ58wBTJcGoi253XCz7LbU820cqumT2crJyxNoTdyASXzTWnmBa7AM8Zkt3ykdqx1tq4f-W91hELnyJVKXabBNJj8iwp09qhvxHZJHLCxtG_OIPXAysyetaMSkMJNafNg2FMiheQoP425IRLdijuwviXnuqgHxXSOcBDZzfrCxeyfj3AS86fLsvTEiabfX4osJsC5ssH6MpVLCSIZMCPJ0f2xqGgmni56KQvNASBE2b1IulE7DOnN7CIIoo905ewhV1Afll48omx6i5ddLTJKACqJnmayY9Jb9qx6EdQ_U9JhOjszdq3LcTdgGgpCYKYVPVdSDcMs4dRoktulE8gJ-u_3HhvbCDIY38lo-n38tEDtx9ccNilNpjg._s4SH9YrY5A5B3CyVLwGEA', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "vw7A1JEKW4JVMDnh8Am1",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "XmIaCQczumyq65pXsF85lA",
        "aud": [
            "gKBkcoSdrdBGR2CVlMJ9"
        ],
        "exp": 1560787593,
        "iat": 1560784173,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "n9RvcTBrQQY3wDLZ",
        "rt_hash": "x0oX80zcsbVRQ4FTrsxxIA",
        "sub": "testuser"
    },
    "refresh_token": "J0lUMxWSMbOkhrNmJnaWGn5J4cP2qtoWhUbsZnSd",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
3phase<--<-- 5 --- Done -->-->
3end
3assertionVerifyResponse
3conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3conditionDone: status=OK

Result

PASSED