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": "oTPNoXrhGWuYqTKt",
"redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
"response_type": "code id_token",
"scope": "openid",
"state": "mBA3t997REjKeVg2"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=mBA3t997REjKeVg2&nonce=oTPNoXrhGWuYqTKt&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=mBA3t997REjKeVg2&nonce=oTPNoXrhGWuYqTKt&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&client_id=clientID |
1 | http args | {} |
2 | response | URL with fragment |
2 | response | id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6Im9UUE5vWHJoR1d1WXFUS3QiLCJpYXQiOjE1NjA3NTg0NjEsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzYxODgxLCJjX2hhc2giOiJXSVNRSjBkN0EzVzJEb2t0Qk9oTnlBIiwiYXVkIjoiY2xpZW50SUQifQ.qYe_Jgag14k_h7LzQeoO4x0NqOyu8ashfbajgYe64niNHLWJnfR2MKJ_X_oUtJtkQKM8c_3cfr6KX4K9EvkHisXCmEIBnBEc-gxW6R59Fmsd8WCc4QiVhpgqBVEZj2Y_JJikpOaGWTRa4XieDDICv7UvbeAQjGLHwV47vgEfHOd6AQJc68ArY3Q9SIgzB3rSj6F34CDyne_RnkpFqrhc9FMOuicJOautSaC5XHgFj9Kf_y8Pt2WeW29IGX3mIRbZDoVvc9u6KwvLz2mvdWjV6xA8k8sgoDnzx5Mo95Bk3rmT8UwrQNgpuzCF2XJCb5pYRJDRUDigMaH3pVCNVKc-uw&state=mBA3t997REjKeVg2&code=7Gk5gPd7bSg05VaQtO886a5rwAz1Dd |
2 | response | {'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6Im9UUE5vWHJoR1d1WXFUS3QiLCJpYXQiOjE1NjA3NTg0NjEsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzYxODgxLCJjX2hhc2giOiJXSVNRSjBkN0EzVzJEb2t0Qk9oTnlBIiwiYXVkIjoiY2xpZW50SUQifQ.qYe_Jgag14k_h7LzQeoO4x0NqOyu8ashfbajgYe64niNHLWJnfR2MKJ_X_oUtJtkQKM8c_3cfr6KX4K9EvkHisXCmEIBnBEc-gxW6R59Fmsd8WCc4QiVhpgqBVEZj2Y_JJikpOaGWTRa4XieDDICv7UvbeAQjGLHwV47vgEfHOd6AQJc68ArY3Q9SIgzB3rSj6F34CDyne_RnkpFqrhc9FMOuicJOautSaC5XHgFj9Kf_y8Pt2WeW29IGX3mIRbZDoVvc9u6KwvLz2mvdWjV6xA8k8sgoDnzx5Mo95Bk3rmT8UwrQNgpuzCF2XJCb5pYRJDRUDigMaH3pVCNVKc-uw', 'state': 'mBA3t997REjKeVg2', 'code': '7Gk5gPd7bSg05VaQtO886a5rwAz1Dd'} |
2 | AuthorizationResponse | {
"code": "7Gk5gPd7bSg05VaQtO886a5rwAz1Dd",
"id_token": {
"aud": [
"clientID"
],
"c_hash": "WISQJ0d7A3W2DoktBOhNyA",
"exp": 1560761881,
"iat": 1560758461,
"iss": "https://isamfed.com:30443/test",
"nonce": "oTPNoXrhGWuYqTKt",
"sub": "testuser"
},
"state": "mBA3t997REjKeVg2"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'mBA3t997REjKeVg2'}, 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': '7Gk5gPd7bSg05VaQtO886a5rwAz1Dd', 'state': 'mBA3t997REjKeVg2', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'mBA3t997REjKeVg2', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "7Gk5gPd7bSg05VaQtO886a5rwAz1Dd",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
"state": "mBA3t997REjKeVg2"
}
|
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=7Gk5gPd7bSg05VaQtO886a5rwAz1Dd&state=mBA3t997REjKeVg2 |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'zwJhkPuxgnm7glUpGmhO', 'refresh_token': 'ZoxoeScO6JeZ6dXQMfpumYtK2gUGy2JT12j4mQfW', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoibFR3NzF1TTYtckxHbVdCQjFtdnFzZyIsIm5vbmNlIjoib1RQTm9YcmhHV3VZcVRLdCIsImlhdCI6MTU2MDc1ODQ2MiwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IkZVWkQ3MGREMkEwZnRHeGE1WFBaUEEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MTg4MiwiYXVkIjoiY2xpZW50SUQifQ.v8hNoKF3byg8dtMjdGa7tDebPWaw47QnO8bnYFlApFAA121e4NepYrnj-T7J43t77aOw9rPMG_xVWLx3jKT1QTKq6Jh0sRSr310M0CsiExVarWkEN23UP_6OeVh7a6fiJNLaSqA15-sagYhaViBjPMPR4vJkQWLVSnqMtJ7kVEfJJoRC2MLh201TyAF6p5O0HEr5XsiHt8G2DBt6r_espdSAfXFc-Ju6WEPdet7876xshdqpUCxImrXl11kmxYXujnCXZKgwxEM861XFGgA9hHFrb2-Vvs8cSr6abeCls7J-vVQ0Iv9sezaEZ8-CP9GiuL-CENNRHEsDUXvd32v_0Q', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "zwJhkPuxgnm7glUpGmhO",
"expires_in": 3599,
"id_token": {
"at_hash": "FUZD70dD2A0ftGxa5XPZPA",
"aud": [
"clientID"
],
"exp": 1560761882,
"iat": 1560758462,
"iss": "https://isamfed.com:30443/test",
"nonce": "oTPNoXrhGWuYqTKt",
"rt_hash": "lTw71uM6-rLGmWBB1mvqsg",
"sub": "testuser"
},
"refresh_token": "ZoxoeScO6JeZ6dXQMfpumYtK2gUGy2JT12j4mQfW",
"scope": "openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': 'mBA3t997REjKeVg2', 'method': 'POST', 'authn_method': 'token_in_message_body'}
|
2 | request | {'body': 'access_token=zwJhkPuxgnm7glUpGmhO'} |
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
2 | request_http_args | {'headers': {'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 |