0 | phase | <--<-- 0 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 1 --- Discovery -->--> |
0 | provider_config | kwargs:{'issuer': 'https://isamfed.com:30443/test'}
|
1 | http response | url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
|
1 | 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"
}
|
1 | phase | <--<-- 2 --- Registration -->--> |
1 | not expected to do | Dynamic registration |
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "clientID",
"nonce": "MYVaIATny3I9wsVF",
"redirect_uri": "https://op.certification.openid.net:61569/authz_cb",
"response_type": "code token",
"scope": "openid profile",
"state": "QUXAl3zyvAKCN9cS"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=QUXAl3zyvAKCN9cS&nonce=MYVaIATny3I9wsVF&response_type=code+token&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61569%2Fauthz_cb&client_id=clientID |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=QUXAl3zyvAKCN9cS&nonce=MYVaIATny3I9wsVF&response_type=code+token&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61569%2Fauthz_cb&client_id=clientID |
1 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=cl3lZKeiQDBPoJoA4Ryc&state=QUXAl3zyvAKCN9cS&expires_in=3599&token_type=bearer&code=qvRy2xG4nfc2LVx7TwirO4U3lrHTw5&scope=openid%20profile |
2 | response | {'access_token': 'cl3lZKeiQDBPoJoA4Ryc', 'state': 'QUXAl3zyvAKCN9cS', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'qvRy2xG4nfc2LVx7TwirO4U3lrHTw5', 'scope': 'openid profile'} |
2 | AuthorizationResponse | {
"access_token": "cl3lZKeiQDBPoJoA4Ryc",
"code": "qvRy2xG4nfc2LVx7TwirO4U3lrHTw5",
"expires_in": 3599,
"scope": "openid profile",
"state": "QUXAl3zyvAKCN9cS",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'QUXAl3zyvAKCN9cS'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61569/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61569/authz_cb', 'code': 'qvRy2xG4nfc2LVx7TwirO4U3lrHTw5', 'state': 'QUXAl3zyvAKCN9cS', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'QUXAl3zyvAKCN9cS', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "qvRy2xG4nfc2LVx7TwirO4U3lrHTw5",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61569/authz_cb",
"state": "QUXAl3zyvAKCN9cS"
}
|
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%3A61569%2Fauthz_cb&code=qvRy2xG4nfc2LVx7TwirO4U3lrHTw5&state=QUXAl3zyvAKCN9cS |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'ktrwytCjJ39jsI940g3x', 'refresh_token': '0wdGGlYbmLSRU9pbcsB9nLmUxUxkJzry5YPSDkIF', 'scope': 'openid profile', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoid0J0WHRlQm5ueTRxV25xbGNrRHNEZyIsIm5vbmNlIjoiTVlWYUlBVG55M0k5d3NWRiIsIm5hbWUiOiJpc2FtZmVkIHRlc3R1c2VyIiwiaWF0IjoxNTYwNzU4MTMyLCJpc3MiOiJodHRwczovL2lzYW1mZWQuY29tOjMwNDQzL3Rlc3QiLCJhdF9oYXNoIjoiWWVuYWVqbVY1T21CbDdKR2kwZ0VDUSIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzYxNTUyLCJhdWQiOiJjbGllbnRJRCJ9.AYfve_LcXgjdGfOjX3_y8Y9DCQzHU-1q0jYJMMzJfbe5VmUbSyqqh0oqWxCAM-X2q6vASjC9kUuLibJLwRC2sRj0e3DZtwru3RQaAMenXwt-a0wvrMu-7MoUYh7b1-PjfB9ivC36DL9uhJQM_69MwL03tHFGKGBPcg_yqdZpIxBRDvgtYr71nv19nfnjfcRmm1oZmgKVDYuQMORnVt5Qpd4vpFEo6m11bNdxZJ15HJ1-LBhgDkqqc5_Y94uXr3_IAWq8JP9ttdiPMGyC4k7s8QdKr6U1atn8EZk0iJ7oit-jNLK9jPUjE7dhKGQEJfObdr0sCiFvj27U9M4T2QdgKg', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "ktrwytCjJ39jsI940g3x",
"expires_in": 3599,
"id_token": {
"at_hash": "YenaejmV5OmBl7JGi0gECQ",
"aud": [
"clientID"
],
"exp": 1560761552,
"iat": 1560758132,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "MYVaIATny3I9wsVF",
"rt_hash": "wBtXteBnny4qWnqlckDsDg",
"sub": "testuser"
},
"refresh_token": "0wdGGlYbmLSRU9pbcsB9nLmUxUxkJzry5YPSDkIF",
"scope": "openid profile",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'QUXAl3zyvAKCN9cS', 'method': 'GET', 'authn_method': 'bearer_header'}
|
3 | request | {'body': None} |
3 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
3 | request_http_args | {'headers': {'Authorization': 'Bearer ktrwytCjJ39jsI940g3x'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"name": "isamfed testuser",
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"name": "isamfed testuser",
"sub": "testuser"
}
|
3 | phase | <--<-- 6 --- Done -->--> |
3 | end | |
3 | assertion | VerifyScopes |
3 | condition | verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['given_name', 'family_name', 'middle_name', 'nickname', 'profile', 'picture', 'website', 'gender', 'birthdate', 'zoneinfo', 'locale', 'updated_at', 'preferred_username'] [Verifies that the claims corresponding to the requested scopes are returned] |
3 | assertion | CheckHTTPResponse |
3 | condition | check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks] |
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 |