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": "kqdPj622SJ40E7k8",
"redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
"response_type": "code id_token token",
"scope": "openid profile",
"state": "iNWBICw34Qh5fiOv"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=iNWBICw34Qh5fiOv&nonce=kqdPj622SJ40E7k8&response_type=code+id_token+token&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=iNWBICw34Qh5fiOv&nonce=kqdPj622SJ40E7k8&response_type=code+id_token+token&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=q29wj3CbUpq9xp5g4h07&state=iNWBICw34Qh5fiOv&expires_in=3599&token_type=bearer&code=13P4UIFouZNsdbVLKIjIsBgXgL6ESz&scope=openid%20profile&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImtxZFBqNjIyU0o0MEU3azgiLCJuYW1lIjoiaXNhbWZlZCB0ZXN0dXNlciIsImlhdCI6MTU2MDc1OTgyMSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6InBCMFNnWm1iY1JoRF84U2Uzam1PWkEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzI0MSwiY19oYXNoIjoidVh5RERQMWc5LTJkdlBCc1d4MGZGZyIsImF1ZCI6ImNsaWVudElEIn0.nFXv9eTuanoqlVmPQVE-gTa2BRXgbYo11TfhL2g842Du55YlAXzlINjCVEizt-fFMVQnW5Q6yKgiJZrPr_arG9zML5HoS3WHGEk3JnjI66-201BttxV3cGF8qcgCNbCLb8pjjmQq5-sJw6NEz8zbvNRmpErTjdz0oDnizbeXCFtHElZxxKpKyoMoanBT8AmNf-yBs9DB4pZOjTOafbiNiI7ckjpCEACSNBR-jLcLqYUCPGUXCoI80s4coTsBlgAp8YUTwKm9zPRglHsqhNBmsZdEzG8Yk4TfpHsl2IiwSbMsvwELiHfWKciLAK9hgXqp0-zn4xUdkecUmPLNFvrqmQ |
2 | response | {'access_token': 'q29wj3CbUpq9xp5g4h07', 'state': 'iNWBICw34Qh5fiOv', 'expires_in': 3599, 'token_type': 'bearer', 'code': '13P4UIFouZNsdbVLKIjIsBgXgL6ESz', 'scope': 'openid profile', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImtxZFBqNjIyU0o0MEU3azgiLCJuYW1lIjoiaXNhbWZlZCB0ZXN0dXNlciIsImlhdCI6MTU2MDc1OTgyMSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6InBCMFNnWm1iY1JoRF84U2Uzam1PWkEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzI0MSwiY19oYXNoIjoidVh5RERQMWc5LTJkdlBCc1d4MGZGZyIsImF1ZCI6ImNsaWVudElEIn0.nFXv9eTuanoqlVmPQVE-gTa2BRXgbYo11TfhL2g842Du55YlAXzlINjCVEizt-fFMVQnW5Q6yKgiJZrPr_arG9zML5HoS3WHGEk3JnjI66-201BttxV3cGF8qcgCNbCLb8pjjmQq5-sJw6NEz8zbvNRmpErTjdz0oDnizbeXCFtHElZxxKpKyoMoanBT8AmNf-yBs9DB4pZOjTOafbiNiI7ckjpCEACSNBR-jLcLqYUCPGUXCoI80s4coTsBlgAp8YUTwKm9zPRglHsqhNBmsZdEzG8Yk4TfpHsl2IiwSbMsvwELiHfWKciLAK9hgXqp0-zn4xUdkecUmPLNFvrqmQ'} |
3 | AuthorizationResponse | {
"access_token": "q29wj3CbUpq9xp5g4h07",
"code": "13P4UIFouZNsdbVLKIjIsBgXgL6ESz",
"expires_in": 3599,
"id_token": {
"at_hash": "pB0SgZmbcRhD_8Se3jmOZA",
"aud": [
"clientID"
],
"c_hash": "uXyDDP1g9-2dvPBsWx0fFg",
"exp": 1560763241,
"iat": 1560759821,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "kqdPj622SJ40E7k8",
"sub": "testuser"
},
"scope": "openid profile",
"state": "iNWBICw34Qh5fiOv",
"token_type": "bearer"
}
|
3 | phase | <--<-- 4 --- AccessToken -->--> |
3 | request | op_args: {'state': 'iNWBICw34Qh5fiOv'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb'} |
3 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb', 'code': '13P4UIFouZNsdbVLKIjIsBgXgL6ESz', 'state': 'iNWBICw34Qh5fiOv', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'iNWBICw34Qh5fiOv', 'authn_method': 'client_secret_basic'}
|
3 | AccessTokenRequest | {
"code": "13P4UIFouZNsdbVLKIjIsBgXgL6ESz",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
"state": "iNWBICw34Qh5fiOv"
}
|
3 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
3 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
3 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&code=13P4UIFouZNsdbVLKIjIsBgXgL6ESz&state=iNWBICw34Qh5fiOv |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
3 | response | {'access_token': 'ELheuokP5obru2FPETKp', 'refresh_token': 'IO0QvBgxhpmRByktseBiYsKXExpFD4UoDieIWRqs', 'scope': 'openid profile', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoic2I1Z25hSWVVNmpyZzR4NVZCZVJZQSIsIm5vbmNlIjoia3FkUGo2MjJTSjQwRTdrOCIsIm5hbWUiOiJpc2FtZmVkIHRlc3R1c2VyIiwiaWF0IjoxNTYwNzU5ODIzLCJpc3MiOiJodHRwczovL2lzYW1mZWQuY29tOjMwNDQzL3Rlc3QiLCJhdF9oYXNoIjoiWk8wbXlUMGR5TDZkZ3REeS1aVjJNQSIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzYzMjQzLCJhdWQiOiJjbGllbnRJRCJ9.qZxsoMqqveeg59xsZDFqvUHnASquYmsQYt0EFsZbAKryKlQViyFtWBcBQ4rVl7AOUGZLlB5FYgk6k2FpR8TmRJ--mBd65xNRX86192dgsM5LHgrwR0_XEMvoraUBUrsQs819jJTAwaX3B6TUalrj03V6e8JMbqjk6twXwMcbm2CJvi_Y0FXkNKE0Bnyx9Afrol_MAwSfjxGcLsRsPjocC-jgYNA67WjjgtSbTJQAuHODmQkjLre1JBunbH4H9lCDtSbp4aFjxbVh4VI7CcDnLdPquMwvcwNdAkU4X2KNPYGVYVy36tK6K-oDeGHB_E_X5t7IpQdxuSNQKBdm2586Dw', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "ELheuokP5obru2FPETKp",
"expires_in": 3599,
"id_token": {
"at_hash": "ZO0myT0dyL6dgtDy-ZV2MA",
"aud": [
"clientID"
],
"exp": 1560763243,
"iat": 1560759823,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "kqdPj622SJ40E7k8",
"rt_hash": "sb5gnaIeU6jrg4x5VBeRYA",
"sub": "testuser"
},
"refresh_token": "IO0QvBgxhpmRByktseBiYsKXExpFD4UoDieIWRqs",
"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': 'iNWBICw34Qh5fiOv', '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 ELheuokP5obru2FPETKp'}} |
4 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
4 | OpenIDSchema | {
"name": "isamfed testuser",
"sub": "testuser"
}
|
4 | OpenIDSchema | {
"name": "isamfed testuser",
"sub": "testuser"
}
|
4 | phase | <--<-- 6 --- Done -->--> |
4 | end | |
4 | assertion | VerifyScopes |
4 | 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] |
4 | assertion | CheckHTTPResponse |
4 | 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] |
4 | assertion | VerifyResponse |
4 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
4 | condition | Done: status=OK |