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": "gD5Inc4iRHsQSzZ1",
"redirect_uri": "https://op.certification.openid.net:61569/authz_cb",
"response_type": "code token",
"scope": "openid profile email address phone",
"state": "cSPaRFDvK9yhWLyL"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=cSPaRFDvK9yhWLyL&nonce=gD5Inc4iRHsQSzZ1&response_type=code+token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61569%2Fauthz_cb&client_id=clientID |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=cSPaRFDvK9yhWLyL&nonce=gD5Inc4iRHsQSzZ1&response_type=code+token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61569%2Fauthz_cb&client_id=clientID |
3 | http args | {} |
4 | response | URL with fragment |
4 | response | access_token=cKZT1XCm5LXWT2CNP5sz&state=cSPaRFDvK9yhWLyL&expires_in=3599&token_type=bearer&code=0ZSMuYhuJv6oYyNZNwO3q9rJaLfQm0&scope=address%20phone%20openid%20profile%20email |
4 | response | {'access_token': 'cKZT1XCm5LXWT2CNP5sz', 'state': 'cSPaRFDvK9yhWLyL', 'expires_in': 3599, 'token_type': 'bearer', 'code': '0ZSMuYhuJv6oYyNZNwO3q9rJaLfQm0', 'scope': 'address phone openid profile email'} |
4 | AuthorizationResponse | {
"access_token": "cKZT1XCm5LXWT2CNP5sz",
"code": "0ZSMuYhuJv6oYyNZNwO3q9rJaLfQm0",
"expires_in": 3599,
"scope": "address phone openid profile email",
"state": "cSPaRFDvK9yhWLyL",
"token_type": "bearer"
}
|
4 | phase | <--<-- 4 --- AccessToken -->--> |
4 | request | op_args: {'state': 'cSPaRFDvK9yhWLyL'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61569/authz_cb'} |
4 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61569/authz_cb', 'code': '0ZSMuYhuJv6oYyNZNwO3q9rJaLfQm0', 'state': 'cSPaRFDvK9yhWLyL', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'cSPaRFDvK9yhWLyL', 'authn_method': 'client_secret_basic'}
|
4 | AccessTokenRequest | {
"code": "0ZSMuYhuJv6oYyNZNwO3q9rJaLfQm0",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61569/authz_cb",
"state": "cSPaRFDvK9yhWLyL"
}
|
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%3A61569%2Fauthz_cb&code=0ZSMuYhuJv6oYyNZNwO3q9rJaLfQm0&state=cSPaRFDvK9yhWLyL |
4 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
4 | response | {'access_token': 'GeuhIjI3Ffjytghw5YO7', 'refresh_token': 'a1uOIPiPMi5H5hurzZl6RHcIEsBJwLtBF6b2a5Ek', 'scope': 'address phone openid profile email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJydF9oYXNoIjoiSk9wemhFdWIxMDZJeUc1ZGozeEhYdyIsIm5vbmNlIjoiZ0Q1SW5jNGlSSHNRU3paMSIsImVtYWlsIjoidGVzdF9pc2FtZmVkQGdtYWlsLmNvbSIsInBob25lX251bWJlciI6Ijg3NjU0MjE1IiwiaWF0IjoxNTYwNzU4MTE1LCJpc3MiOiJodHRwczovL2lzYW1mZWQuY29tOjMwNDQzL3Rlc3QiLCJhdF9oYXNoIjoiV2h6Ty1BOEIyVHNYQXZBb240cGJBZyIsInN1YiI6InRlc3R1c2VyIiwibmFtZSI6ImlzYW1mZWQgdGVzdHVzZXIiLCJleHAiOjE1NjA3NjE1MzUsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiYXVkIjoiY2xpZW50SUQifQ.1AdUW0XOlYo0ontqFeXP5LaF4KmNH7N_gSltVkqtNrb0GCdyLLwqR2RiNKL1EqOaNb0B-iZV4F6SIzgm9VxQMMP-Mw1hYGbwKadYcORDIfIB4-KCzOd48JGNzV5XWU_X5qg0_6azUwI4BKGlvkvAHVznkFF2ZW7Zn7mUAdpnrr2pFW7H-BPL4v-Pado7diP2b4bPfRXXeRvr2ERiAXGfpfCUxUp4pFbRzKXseO59lwuvtGMrL5oesSsV_iNf__fq35uzs0LIRxhbtHKMc693-B82LhwRqIgoYCFiNeVdz9phMWDTHr0pCylOuTr74cPcB-c85-bkroECL5Uyv24yMA', 'token_type': 'bearer', 'expires_in': 3599} |
5 | AccessTokenResponse | {
"access_token": "GeuhIjI3Ffjytghw5YO7",
"expires_in": 3599,
"id_token": {
"at_hash": "WhzO-A8B2TsXAvAon4pbAg",
"aud": [
"clientID"
],
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560761535,
"iat": 1560758115,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "gD5Inc4iRHsQSzZ1",
"phone_number": "87654215",
"phone_number_verified": false,
"rt_hash": "JOpzhEub106IyG5dj3xHXw",
"sub": "testuser"
},
"refresh_token": "a1uOIPiPMi5H5hurzZl6RHcIEsBJwLtBF6b2a5Ek",
"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': 'cSPaRFDvK9yhWLyL', '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 GeuhIjI3Ffjytghw5YO7'}} |
5 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
5 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
5 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
5 | phase | <--<-- 6 --- Done -->--> |
5 | end | |
5 | assertion | VerifyScopes |
5 | 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] |
5 | assertion | CheckHTTPResponse |
5 | 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] |
5 | assertion | VerifyResponse |
5 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
5 | condition | Done: status=OK |