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 | not expected to do | Dynamic registration |
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "clientID",
"nonce": "PKf4kYzpukqfhlnM",
"redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
"response_type": "code id_token",
"scope": "openid",
"state": "gkMES7bs7ixIivJd"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=gkMES7bs7ixIivJd&nonce=PKf4kYzpukqfhlnM&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&client_id=clientID |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=gkMES7bs7ixIivJd&nonce=PKf4kYzpukqfhlnM&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&client_id=clientID |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IlBLZjRrWXpwdWtxZmhsbk0iLCJpYXQiOjE1NjA3NTg0NjksImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzYxODg5LCJjX2hhc2giOiJwb2RBX1hFcEdJLTJOanQzSHNRVDVRIiwiYXVkIjoiY2xpZW50SUQifQ.u6ssou_o6KJU-ADmDn7lq4-kYsASfkXR9BEbBypN9ZP3baO-0LYgzx3wRMRBjn7_-eqqxiNqqh4-h7I3VGhg-0gE2-hLGcVCLb8kVSB3xRjJJIjRiaivttzsfcpSbcBobdny3hKG9MEmxIsj3mM1hiPQE4lkr57-ysEtH08cqxHxI1qnhSVUKjkfbdzS43AzHSXom45s7-z-AECPB7-GM_TbI8oHvzNKg0Y0FlP2gqQ9zyGPTnH82dIgGHi3rv78NR7GFnFGWh-vcQhhX7Eb9a0jB1UrESLFd_U6sJCqyOFARUALsdjPLAfUc3i8KK0En9sSkjEw_uXPyNrhgzw52Q&state=gkMES7bs7ixIivJd&code=cm78mrDcopKru3fr9jxXdkk20squel |
2 | response | {'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IlBLZjRrWXpwdWtxZmhsbk0iLCJpYXQiOjE1NjA3NTg0NjksImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzYxODg5LCJjX2hhc2giOiJwb2RBX1hFcEdJLTJOanQzSHNRVDVRIiwiYXVkIjoiY2xpZW50SUQifQ.u6ssou_o6KJU-ADmDn7lq4-kYsASfkXR9BEbBypN9ZP3baO-0LYgzx3wRMRBjn7_-eqqxiNqqh4-h7I3VGhg-0gE2-hLGcVCLb8kVSB3xRjJJIjRiaivttzsfcpSbcBobdny3hKG9MEmxIsj3mM1hiPQE4lkr57-ysEtH08cqxHxI1qnhSVUKjkfbdzS43AzHSXom45s7-z-AECPB7-GM_TbI8oHvzNKg0Y0FlP2gqQ9zyGPTnH82dIgGHi3rv78NR7GFnFGWh-vcQhhX7Eb9a0jB1UrESLFd_U6sJCqyOFARUALsdjPLAfUc3i8KK0En9sSkjEw_uXPyNrhgzw52Q', 'state': 'gkMES7bs7ixIivJd', 'code': 'cm78mrDcopKru3fr9jxXdkk20squel'} |
2 | AuthorizationResponse | {
"code": "cm78mrDcopKru3fr9jxXdkk20squel",
"id_token": {
"aud": [
"clientID"
],
"c_hash": "podA_XEpGI-2Njt3HsQT5Q",
"exp": 1560761889,
"iat": 1560758469,
"iss": "https://isamfed.com:30443/test",
"nonce": "PKf4kYzpukqfhlnM",
"sub": "testuser"
},
"state": "gkMES7bs7ixIivJd"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'gkMES7bs7ixIivJd'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61577/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61577/authz_cb', 'code': 'cm78mrDcopKru3fr9jxXdkk20squel', 'state': 'gkMES7bs7ixIivJd', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'gkMES7bs7ixIivJd', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "cm78mrDcopKru3fr9jxXdkk20squel",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
"state": "gkMES7bs7ixIivJd"
}
|
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
2 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
2 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&code=cm78mrDcopKru3fr9jxXdkk20squel&state=gkMES7bs7ixIivJd |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
3 | response | {'access_token': 'orK9UDJJ3HQOejhEc4lf', 'refresh_token': 'POBqBWZZlCDpiEozkdLQTbm5I619GFznJW4uRLds', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiOU5lSk5QRXBDUERtaHZCZUdOSk9rQSIsIm5vbmNlIjoiUEtmNGtZenB1a3FmaGxuTSIsImlhdCI6MTU2MDc1ODQ3MCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IkdkdXlRRXNYVnhrMnNERVRNS1hlOUEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MTg5MCwiYXVkIjoiY2xpZW50SUQifQ.eQu9GfJYpQ-HRLY7dELOTIPfR0CG7GqXzBsxc73Wy-nrQf6qDZCkLxRp_0Un4MGVfyiskcXVtNzkPRT_quYjzyQsYPHWP-qnfp839xm39R8N7RZbdBvoBZ23RIKdjQ3y8pBr-yFXsimWVpTbJbXqX0hendBaGub5U55R5uBCPKn3vqN2oPrC8nZGuLTvVF_EH7SCioPduDu5OMMVBk2RdThet6W-q67eA8wX0MtaEEE0vzL8FaM6ScsNUXAo0clgUH3oD0_0PZVk701SfkYVT7UyJaN3fqUHfzL7kAHHqi75PTCz6DtPPr29kzwt239Vw4qw4RRf0pzE80EremaKXg', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "orK9UDJJ3HQOejhEc4lf",
"expires_in": 3599,
"id_token": {
"at_hash": "GduyQEsXVxk2sDETMKXe9A",
"aud": [
"clientID"
],
"exp": 1560761890,
"iat": 1560758470,
"iss": "https://isamfed.com:30443/test",
"nonce": "PKf4kYzpukqfhlnM",
"rt_hash": "9NeJNPEpCPDmhvBeGNJOkA",
"sub": "testuser"
},
"refresh_token": "POBqBWZZlCDpiEozkdLQTbm5I619GFznJW4uRLds",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'gkMES7bs7ixIivJd', 'method': 'POST', 'behavior': 'use_authorization_header'}
|
3 | request | {'body': ''} |
3 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
3 | request_http_args | {'headers': {'Authorization': 'Bearer orK9UDJJ3HQOejhEc4lf', 'Content-Type': 'application/x-www-form-urlencoded'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"sub": "testuser"
}
|
3 | phase | <--<-- 6 --- 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 | condition | Done: status=OK |