0 | phase | <--<-- 0 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 1 --- Discovery -->--> |
0 | provider_config | kwargs:{'issuer': 'https://isamfed.com:30443/test'}
|
0 | http response | url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
|
0 | ProviderConfigurationResponse | {
"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_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"
}
|
0 | phase | <--<-- 2 --- Registration -->--> |
0 | register | kwargs:{'response_types': ['code id_token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61365/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61365/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61365/static/jwks_61365.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
0 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code",
"implicit"
],
"jwks_uri": "https://op.certification.openid.net:61365/static/jwks_61365.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61365/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61365/authz_cb"
],
"response_types": [
"code id_token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
1 | RegistrationResponse | {
"application_type": "web",
"client_id": "s1F8uXbg66DcDNr7FAjs",
"client_id_issued_at": 1560755732,
"client_secret": "9ZxZy5JQrmbq2crLkqfK",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code",
"implicit"
],
"jwks_uri": "https://op.certification.openid.net:61365/static/jwks_61365.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61365/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61365/authz_cb"
],
"registration_access_token": "Rd6WLkeOfZtw7NJkjzMH",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=s1F8uXbg66DcDNr7FAjs",
"response_types": [
"code",
"id_token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "s1F8uXbg66DcDNr7FAjs",
"nonce": "94xp4EKN0cxVs1Kz",
"redirect_uri": "https://op.certification.openid.net:61365/authz_cb",
"response_type": "code id_token",
"scope": "openid",
"state": "azidD4uRieHVkZ3Q"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=azidD4uRieHVkZ3Q&nonce=94xp4EKN0cxVs1Kz&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&client_id=s1F8uXbg66DcDNr7FAjs |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=azidD4uRieHVkZ3Q&nonce=94xp4EKN0cxVs1Kz&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&client_id=s1F8uXbg66DcDNr7FAjs |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6Ijk0eHA0RUtOMGN4VnMxS3oiLCJpYXQiOjE1NjA3NTU3MzMsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzU5MTUzLCJjX2hhc2giOiJ2UFFPelhKeVBhSm1BMi1samttZDhBIiwiYXVkIjoiczFGOHVYYmc2NkRjRE5yN0ZBanMifQ.yoavVzzYRQMo3CmZzoMYR9zdCK8hfs4xhLYfV1O-Rd1udkCN1xLs0xfcJzRFYG7fh7bk_179o9d6fCkbfdpUbKFTuanDR9CfeNm0Qe0EvNyGU0MKUWOwM_th2HW3CyW7fiHGWCDAckz-bCoXUZQBzXngm5flmyfOaBxD5ZmLug2PGUu9R9pZOOvVsv0tzfhCKVwcsjxUiC5QRere41IF-IHiczRuzqBs1T0QNYGEelaFzVoLL0nOzSIADCcCi4ZCc2jIKMUkymeyq1pV22gcP03S6i4fyGAL3S0k6ocULOHYtjeNnR2wx-IGrJ_UMJewiJ7-onhcaQU4UEWs-CVdvw&state=azidD4uRieHVkZ3Q&code=kGCozo6cXMF5g7ItNRR5FVz2DW1pXn |
2 | response | {'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6Ijk0eHA0RUtOMGN4VnMxS3oiLCJpYXQiOjE1NjA3NTU3MzMsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzU5MTUzLCJjX2hhc2giOiJ2UFFPelhKeVBhSm1BMi1samttZDhBIiwiYXVkIjoiczFGOHVYYmc2NkRjRE5yN0ZBanMifQ.yoavVzzYRQMo3CmZzoMYR9zdCK8hfs4xhLYfV1O-Rd1udkCN1xLs0xfcJzRFYG7fh7bk_179o9d6fCkbfdpUbKFTuanDR9CfeNm0Qe0EvNyGU0MKUWOwM_th2HW3CyW7fiHGWCDAckz-bCoXUZQBzXngm5flmyfOaBxD5ZmLug2PGUu9R9pZOOvVsv0tzfhCKVwcsjxUiC5QRere41IF-IHiczRuzqBs1T0QNYGEelaFzVoLL0nOzSIADCcCi4ZCc2jIKMUkymeyq1pV22gcP03S6i4fyGAL3S0k6ocULOHYtjeNnR2wx-IGrJ_UMJewiJ7-onhcaQU4UEWs-CVdvw', 'state': 'azidD4uRieHVkZ3Q', 'code': 'kGCozo6cXMF5g7ItNRR5FVz2DW1pXn'} |
2 | AuthorizationResponse | {
"code": "kGCozo6cXMF5g7ItNRR5FVz2DW1pXn",
"id_token": {
"aud": [
"s1F8uXbg66DcDNr7FAjs"
],
"c_hash": "vPQOzXJyPaJmA2-ljkmd8A",
"exp": 1560759153,
"iat": 1560755733,
"iss": "https://isamfed.com:30443/test",
"nonce": "94xp4EKN0cxVs1Kz",
"sub": "testuser"
},
"state": "azidD4uRieHVkZ3Q"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'azidD4uRieHVkZ3Q'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61365/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61365/authz_cb', 'code': 'kGCozo6cXMF5g7ItNRR5FVz2DW1pXn', 'state': 'azidD4uRieHVkZ3Q', 'grant_type': 'authorization_code', 'client_id': 's1F8uXbg66DcDNr7FAjs'}, 'state': 'azidD4uRieHVkZ3Q', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiczFGOHVYYmc2NkRjRE5yN0ZBanMiLCAic3ViIjogInMxRjh1WGJnNjZEY0ROcjdGQWpzIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ2SEZuQ2d1THRLZ2ZQc21PVXlWSzNWVkhvZjZ5ZVc1TCIsICJleHAiOiAxNTYwNzU2MzM0LCAiaWF0IjogMTU2MDc1NTczNH0.Sk5_Lz-0bZyOiKWwvs2idl3Pw-CxB9LrhFfQ3bIwwIhY4aUG8K4KnafrM_f-meEdhCi24qeOO6k1Dk__NXMeATWWXy1Xiq9bkC6AurtKdcnvYZQz3ZcOmjl3etmm5Qt6Hy5IHKKyHhIk3oMyVBbaqZlhyrBXclkur4fErs61x-KKW-JC8hDQyemD4IqhDrx_EBdiZyApEa8daWmSvZ6bAHkR9ueJJjb49uO7HdmHyP9wan-usjIf1g5vONnFBVQJq8R96P-wIQUxS6thOCQyXrq9HX3TNJuPC0AlwOwEya-PJpF4eSoQOhyP2-qRUg8z1RtEjptJ9O0LYzDc2Kcvag",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "kGCozo6cXMF5g7ItNRR5FVz2DW1pXn",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61365/authz_cb",
"state": "azidD4uRieHVkZ3Q"
}
|
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
2 | request_http_args | {'headers': {'Content-Type': 'application/x-www-form-urlencoded'}} |
2 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&code=kGCozo6cXMF5g7ItNRR5FVz2DW1pXn&state=azidD4uRieHVkZ3Q&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiczFGOHVYYmc2NkRjRE5yN0ZBanMiLCAic3ViIjogInMxRjh1WGJnNjZEY0ROcjdGQWpzIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ2SEZuQ2d1THRLZ2ZQc21PVXlWSzNWVkhvZjZ5ZVc1TCIsICJleHAiOiAxNTYwNzU2MzM0LCAiaWF0IjogMTU2MDc1NTczNH0.Sk5_Lz-0bZyOiKWwvs2idl3Pw-CxB9LrhFfQ3bIwwIhY4aUG8K4KnafrM_f-meEdhCi24qeOO6k1Dk__NXMeATWWXy1Xiq9bkC6AurtKdcnvYZQz3ZcOmjl3etmm5Qt6Hy5IHKKyHhIk3oMyVBbaqZlhyrBXclkur4fErs61x-KKW-JC8hDQyemD4IqhDrx_EBdiZyApEa8daWmSvZ6bAHkR9ueJJjb49uO7HdmHyP9wan-usjIf1g5vONnFBVQJq8R96P-wIQUxS6thOCQyXrq9HX3TNJuPC0AlwOwEya-PJpF4eSoQOhyP2-qRUg8z1RtEjptJ9O0LYzDc2Kcvag&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
3 | response | {'access_token': 'U1zF2E0JVZ9p6ACEy8Ra', 'refresh_token': 'iB3Vs94p3QwvSZKMSE0rUTKUha6l9vhgtQF7ZeSv', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoickVORlVBbDBuakJpM0k4cFpXVUlhUSIsIm5vbmNlIjoiOTR4cDRFS04wY3hWczFLeiIsImlhdCI6MTU2MDc1NTczNSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6ImdCYkl3cWxuUDdLSGJ4Q0V6S2dLTFEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1OTE1NSwiYXVkIjoiczFGOHVYYmc2NkRjRE5yN0ZBanMifQ.o3QzuvDPdlpvIvosoo_wWzCNfURiPVH9jCufqx4JcymAXlGKQBwxghGW7rcx1qIoZYL-u8p506IqkVJTMIfPGKMB3oh0SGGDRrc19oFlNOV8y5r3FtYf-zBrSZ9MlFGTTiZNgMuT1lO1BV5lUoTOxtLCju83B9eNcaXLInWKS2Pi8B_9qAShFMT6C9DEn11TvK8WJR1SQc7wwYyfhB82EHZVmg6UgcQxHaBUsD5ws0tZF3guqbE89SxRtXeYZ6Y_HGfe7KWkH78RDLWVhof3eM8sCF0m_riFvnRIKul8dCW9a2WKPjNoQYJwJNm-a18OUQXp0p2qbzMuafJtgCg-0Q', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "U1zF2E0JVZ9p6ACEy8Ra",
"expires_in": 3599,
"id_token": {
"at_hash": "gBbIwqlnP7KHbxCEzKgKLQ",
"aud": [
"s1F8uXbg66DcDNr7FAjs"
],
"exp": 1560759155,
"iat": 1560755735,
"iss": "https://isamfed.com:30443/test",
"nonce": "94xp4EKN0cxVs1Kz",
"rt_hash": "rENFUAl0njBi3I8pZWUIaQ",
"sub": "testuser"
},
"refresh_token": "iB3Vs94p3QwvSZKMSE0rUTKUha6l9vhgtQF7ZeSv",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- Done -->--> |
3 | end | |
3 | assertion | CheckIdTokenNonce |
3 | condition | check-idtoken-nonce: status=OK [Verify that the nonce in the IDToken is the same that's included in the Authorization Request.] |
3 | assertion | VerifyResponse |
3 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
3 | condition | Done: status=OK |