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": "W2VWdXfwxXDveLjZ",
"redirect_uri": "https://op.certification.openid.net:61375/authz_cb",
"response_type": "code",
"scope": "openid profile email address phone",
"state": "jT5W70el3abLjd4H"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=jT5W70el3abLjd4H&nonce=W2VWdXfwxXDveLjZ&response_type=code&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61375%2Fauthz_cb&client_id=clientID |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=jT5W70el3abLjd4H&nonce=W2VWdXfwxXDveLjZ&response_type=code&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61375%2Fauthz_cb&client_id=clientID |
4 | response | Response URL with query part |
4 | response | {'state': 'jT5W70el3abLjd4H', 'code': 'Wh3LdasyDyp4NENr2JG2nC7ZZ9hTms'} |
4 | response | {'state': 'jT5W70el3abLjd4H', 'code': 'Wh3LdasyDyp4NENr2JG2nC7ZZ9hTms'} |
4 | AuthorizationResponse | {
"code": "Wh3LdasyDyp4NENr2JG2nC7ZZ9hTms",
"state": "jT5W70el3abLjd4H"
}
|
4 | phase | <--<-- 4 --- AccessToken -->--> |
4 | request | op_args: {'state': 'jT5W70el3abLjd4H'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61375/authz_cb'} |
4 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61375/authz_cb', 'code': 'Wh3LdasyDyp4NENr2JG2nC7ZZ9hTms', 'state': 'jT5W70el3abLjd4H', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'jT5W70el3abLjd4H', 'authn_method': 'client_secret_basic'}
|
4 | AccessTokenRequest | {
"code": "Wh3LdasyDyp4NENr2JG2nC7ZZ9hTms",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61375/authz_cb",
"state": "jT5W70el3abLjd4H"
}
|
4 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
4 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
4 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61375%2Fauthz_cb&code=Wh3LdasyDyp4NENr2JG2nC7ZZ9hTms&state=jT5W70el3abLjd4H |
5 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
5 | response | {'access_token': 's0hfhqHgwi6RYEFBw2Ds', 'refresh_token': 'e4bU5dVOET8D5A7YQGn0vrUQhb03mbvmTISe01wq', 'scope': 'address phone openid profile email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJydF9oYXNoIjoiSllxZUM1VXVzd0RWOFAxQkNpMTNSQSIsIm5vbmNlIjoiVzJWV2RYZnd4WER2ZUxqWiIsImVtYWlsIjoidGVzdF9pc2FtZmVkQGdtYWlsLmNvbSIsInBob25lX251bWJlciI6Ijg3NjU0MjE1IiwiaWF0IjoxNTYwNzU4MzA5LCJpc3MiOiJodHRwczovL2lzYW1mZWQuY29tOjMwNDQzL3Rlc3QiLCJhdF9oYXNoIjoiYnhici1oRmRIeDJ6VDhMdDVTbTdNQSIsInN1YiI6InRlc3R1c2VyIiwibmFtZSI6ImlzYW1mZWQgdGVzdHVzZXIiLCJleHAiOjE1NjA3NjE3MjksImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiYXVkIjoiY2xpZW50SUQifQ.R3iCqvoV2EF-xQwLBCt2Y2tj-L35BlfFMeeycibqo2xp8qLuqLJOSjjnCGKfoZg2jNvoKmTKBywVB9MMGUVeQSlOK7IlZtJ7Xn-bRk9_Ql6RZy_8EIV1bn0sxOdy0G8V1Q4NSagKhP2o_PIrEtraaReyChpz1_Y48pxC74JO7NMxEOX6zwIXPDSKKc2yjR3iN_rG--Im513FwOFDvlU46OuSTKM1zJoOJQYmmh-5gZleKvfTmk4Kb3KliybGSEZJyr1DMTYj43c-hft0DGQ0L-4OtoK7x_YHekUsJ1d_sCL5OZ1w3rrdWcxgXrJpWrId_Sy-WqQ8w5p3a6NvgmJFrg', 'token_type': 'bearer', 'expires_in': 3599} |
5 | AccessTokenResponse | {
"access_token": "s0hfhqHgwi6RYEFBw2Ds",
"expires_in": 3599,
"id_token": {
"at_hash": "bxbr-hFdHx2zT8Lt5Sm7MA",
"aud": [
"clientID"
],
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560761729,
"iat": 1560758309,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "W2VWdXfwxXDveLjZ",
"phone_number": "87654215",
"phone_number_verified": false,
"rt_hash": "JYqeC5UuswDV8P1BCi13RA",
"sub": "testuser"
},
"refresh_token": "e4bU5dVOET8D5A7YQGn0vrUQhb03mbvmTISe01wq",
"scope": "address phone openid profile email",
"token_type": "bearer"
}
|
5 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
5 | phase | <--<-- 5 --- UserInfo -->--> |
5 | do_user_info_request | kwargs:{'state': 'jT5W70el3abLjd4H', 'method': 'GET', 'authn_method': 'bearer_header'}
|
5 | request | {'body': None} |
5 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
5 | request_http_args | {'headers': {'Authorization': 'Bearer s0hfhqHgwi6RYEFBw2Ds'}} |
6 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
6 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
6 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
6 | phase | <--<-- 6 --- Done -->--> |
6 | end | |
6 | assertion | VerifyScopes |
6 | 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', 'address'] [Verifies that the claims corresponding to the requested scopes are returned] |
6 | assertion | CheckHTTPResponse |
6 | 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] |
6 | assertion | VerifyResponse |
6 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
6 | condition | Done: status=OK |