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 token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61367/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61367/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61367/static/jwks_61367.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
0 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit",
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61367/static/jwks_61367.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61367/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61367/authz_cb"
],
"response_types": [
"code id_token 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": "mnnDBe2Bb8KiWT17NSV9",
"client_id_issued_at": 1560755219,
"client_secret": "0xKMxQqTVRrOrAc9b11b",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit",
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61367/static/jwks_61367.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61367/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61367/authz_cb"
],
"registration_access_token": "ewaWNqBO9wg1j19WXwMK",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=mnnDBe2Bb8KiWT17NSV9",
"response_types": [
"code",
"id_token",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "mnnDBe2Bb8KiWT17NSV9",
"nonce": "3gl9lrS3n0JviD4J",
"redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
"response_type": "code id_token token",
"scope": "openid",
"state": "GcYC8nNWcLt6Qw2C"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=GcYC8nNWcLt6Qw2C&nonce=3gl9lrS3n0JviD4J&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=mnnDBe2Bb8KiWT17NSV9 |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=GcYC8nNWcLt6Qw2C&nonce=3gl9lrS3n0JviD4J&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=mnnDBe2Bb8KiWT17NSV9 |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=csQVRKlQh57KhwUb4Nb3&state=GcYC8nNWcLt6Qw2C&expires_in=3599&token_type=bearer&code=bm3wMWOLfKZqCQd7C8bP1oldaMyWoC&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IjNnbDlsclMzbjBKdmlENEoiLCJpYXQiOjE1NjA3NTUyMjAsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiI2b1k1Ty1LNWJfQVBsN01KYy1zempRIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2NDAsImNfaGFzaCI6IlduVS1xNXVnVmtjR3BiU3JKNVZGYXciLCJhdWQiOiJtbm5EQmUyQmI4S2lXVDE3TlNWOSJ9.ldxEW7d_p8pKtF-ZHj6jWxAoc863FsEwMM11Gzx0h7Dc2Szpi6JpHC1pVIm6hfLdelTFdpuWWH-iUoE78lMClisGFRXCRR4yNYtuOTq17Za1JTOnw-p8H_2xeIASRnI1dEf-I1HwU2TRcCDjS_-aP9dPfTO5afVF7H9I1hmmpGs0y25w_BrF8n8tLlwRjI-XgCULE788rJodkWD_DiV8TtFSQuc9f4PLhA9_t26bbmzw0cKy43XxZoAZdUOYubB4wXTbPuTabv8iONT5uiner_U09uM1lmFlxAwn5wbLU4OPKK0xDgYXw1jS0uHtOmFlq-w73U4_5sN88X9x2xnyCQ |
2 | response | {'access_token': 'csQVRKlQh57KhwUb4Nb3', 'state': 'GcYC8nNWcLt6Qw2C', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'bm3wMWOLfKZqCQd7C8bP1oldaMyWoC', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IjNnbDlsclMzbjBKdmlENEoiLCJpYXQiOjE1NjA3NTUyMjAsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiI2b1k1Ty1LNWJfQVBsN01KYy1zempRIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2NDAsImNfaGFzaCI6IlduVS1xNXVnVmtjR3BiU3JKNVZGYXciLCJhdWQiOiJtbm5EQmUyQmI4S2lXVDE3TlNWOSJ9.ldxEW7d_p8pKtF-ZHj6jWxAoc863FsEwMM11Gzx0h7Dc2Szpi6JpHC1pVIm6hfLdelTFdpuWWH-iUoE78lMClisGFRXCRR4yNYtuOTq17Za1JTOnw-p8H_2xeIASRnI1dEf-I1HwU2TRcCDjS_-aP9dPfTO5afVF7H9I1hmmpGs0y25w_BrF8n8tLlwRjI-XgCULE788rJodkWD_DiV8TtFSQuc9f4PLhA9_t26bbmzw0cKy43XxZoAZdUOYubB4wXTbPuTabv8iONT5uiner_U09uM1lmFlxAwn5wbLU4OPKK0xDgYXw1jS0uHtOmFlq-w73U4_5sN88X9x2xnyCQ'} |
3 | AuthorizationResponse | {
"access_token": "csQVRKlQh57KhwUb4Nb3",
"code": "bm3wMWOLfKZqCQd7C8bP1oldaMyWoC",
"expires_in": 3599,
"id_token": {
"at_hash": "6oY5O-K5b_APl7MJc-szjQ",
"aud": [
"mnnDBe2Bb8KiWT17NSV9"
],
"c_hash": "WnU-q5ugVkcGpbSrJ5VFaw",
"exp": 1560758640,
"iat": 1560755220,
"iss": "https://isamfed.com:30443/test",
"nonce": "3gl9lrS3n0JviD4J",
"sub": "testuser"
},
"scope": "openid",
"state": "GcYC8nNWcLt6Qw2C",
"token_type": "bearer"
}
|
3 | phase | <--<-- 4 --- AccessToken -->--> |
3 | request | op_args: {'state': 'GcYC8nNWcLt6Qw2C'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb'} |
3 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb', 'code': 'bm3wMWOLfKZqCQd7C8bP1oldaMyWoC', 'state': 'GcYC8nNWcLt6Qw2C', 'grant_type': 'authorization_code', 'client_id': 'mnnDBe2Bb8KiWT17NSV9'}, 'state': 'GcYC8nNWcLt6Qw2C', 'authn_method': 'private_key_jwt'}
|
3 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAibW5uREJlMkJiOEtpV1QxN05TVjkiLCAic3ViIjogIm1ubkRCZTJCYjhLaVdUMTdOU1Y5IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJrQmMzenRzTUw1ZFFtWVNVVTE0bTNUelZsM0h2d1FLUyIsICJleHAiOiAxNTYwNzU1ODIxLCAiaWF0IjogMTU2MDc1NTIyMX0.tIDn7c0fuQOw2qdrb84mNML0iqlTnimYLLPkKAClPsrlu7zKjxdWRQCYiwIrwEM3o50DKf_AX4uP99iWq84qHLK9uOyM3Cltwuj7F8hrQwwbz9-ksdXHZP6wKmr2zYnMMueMQgZHf16VDIgLgG31Yg3ON7ogBVcXtb_2UEHwHyulauuPhAx-v7QiEO0_gSErv6APryy-wT2rAbHoLOjLnW_cbM3tpIfPcxMSyzvtm-Habq51Q35EzGXmXIC0w8uV9wev152wQhskszCc-j3mzrdvIWrUYcoIQ7Tq0NoMeM58tw2vpCGE-1mbYNIz-s-m2Hdbr9L7b-OyBmLen7wdmQ",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "bm3wMWOLfKZqCQd7C8bP1oldaMyWoC",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
"state": "GcYC8nNWcLt6Qw2C"
}
|
3 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
3 | request_http_args | {'headers': {'Content-Type': 'application/x-www-form-urlencoded'}} |
3 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&code=bm3wMWOLfKZqCQd7C8bP1oldaMyWoC&state=GcYC8nNWcLt6Qw2C&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAibW5uREJlMkJiOEtpV1QxN05TVjkiLCAic3ViIjogIm1ubkRCZTJCYjhLaVdUMTdOU1Y5IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJrQmMzenRzTUw1ZFFtWVNVVTE0bTNUelZsM0h2d1FLUyIsICJleHAiOiAxNTYwNzU1ODIxLCAiaWF0IjogMTU2MDc1NTIyMX0.tIDn7c0fuQOw2qdrb84mNML0iqlTnimYLLPkKAClPsrlu7zKjxdWRQCYiwIrwEM3o50DKf_AX4uP99iWq84qHLK9uOyM3Cltwuj7F8hrQwwbz9-ksdXHZP6wKmr2zYnMMueMQgZHf16VDIgLgG31Yg3ON7ogBVcXtb_2UEHwHyulauuPhAx-v7QiEO0_gSErv6APryy-wT2rAbHoLOjLnW_cbM3tpIfPcxMSyzvtm-Habq51Q35EzGXmXIC0w8uV9wev152wQhskszCc-j3mzrdvIWrUYcoIQ7Tq0NoMeM58tw2vpCGE-1mbYNIz-s-m2Hdbr9L7b-OyBmLen7wdmQ&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': 'IMpPSahc0wiFZ4xTS97K', 'refresh_token': '1obmw9P5SV8tul82QSRUr9liBQOZU14vxRjJW97Y', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiMGJPTXhKemdKcWlJWVJILVhVZXpfUSIsIm5vbmNlIjoiM2dsOWxyUzNuMEp2aUQ0SiIsImlhdCI6MTU2MDc1NTIyMSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6ImZiR1VHMlRZMmU3c00xSC1tQlJHUGciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODY0MSwiYXVkIjoibW5uREJlMkJiOEtpV1QxN05TVjkifQ.pYCtN_K0rGronXizVFZViC1brhZYZSTBEpshWdnJzzz-OSuPnDet7_eaIYwbSTuXQ8RFQwFQsZ5qCS0K9ywXMQqza0M90eteJStaZbWH32iG8K-kM3kAqtFCG9fs-WKg6bjcK9RiQxtlQWdP9xD77SW2sbG5LMaKNYu_j3Re-HGyM8dgPAJmzl10apCoqjTSsXkiY3IWQppBhn5MKPV6x_uqHkCucLSW0MZuCRHyEWdvc0y2jFz7llA5_F01C7tquJ6Rw7lKmacVqBNVhX4l6T2HbamDVWKB55dOGyHsF4sMznRlrhehl5k477sFonbvm1Yz581fC04hh2yLJpEDJQ', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "IMpPSahc0wiFZ4xTS97K",
"expires_in": 3599,
"id_token": {
"at_hash": "fbGUG2TY2e7sM1H-mBRGPg",
"aud": [
"mnnDBe2Bb8KiWT17NSV9"
],
"exp": 1560758641,
"iat": 1560755221,
"iss": "https://isamfed.com:30443/test",
"nonce": "3gl9lrS3n0JviD4J",
"rt_hash": "0bOMxJzgJqiIYRH-XUez_Q",
"sub": "testuser"
},
"refresh_token": "1obmw9P5SV8tul82QSRUr9liBQOZU14vxRjJW97Y",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- Done -->--> |
3 | end | |
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 | assertion | VerifySignedIdTokenHasKID |
3 | condition | verify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.] |
3 | condition | Done: status=OK |