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 | register | kwargs:{'response_types': ['code token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61240/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61240/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61240/static/jwks_61240.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
0 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code",
"implicit"
],
"jwks_uri": "https://op.certification.openid.net:61240/static/jwks_61240.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61240/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61240/authz_cb"
],
"response_types": [
"code token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
1 | RegistrationResponse | {
"application_type": "web",
"client_id": "ziIHkiocglmwUFMcVAzV",
"client_id_issued_at": 1560755050,
"client_secret": "AbYtj4qmTIWCabpr8lfQ",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code",
"implicit"
],
"jwks_uri": "https://op.certification.openid.net:61240/static/jwks_61240.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61240/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61240/authz_cb"
],
"registration_access_token": "44tVRgLDfo13tOQ9w2T1",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=ziIHkiocglmwUFMcVAzV",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "ziIHkiocglmwUFMcVAzV",
"nonce": "W85Wwq7DiNRs1FyO",
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"response_type": "code token",
"scope": "openid profile",
"state": "vaW5xUN1WgpCeH4j"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=vaW5xUN1WgpCeH4j&nonce=W85Wwq7DiNRs1FyO&response_type=code+token&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=ziIHkiocglmwUFMcVAzV |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=vaW5xUN1WgpCeH4j&nonce=W85Wwq7DiNRs1FyO&response_type=code+token&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=ziIHkiocglmwUFMcVAzV |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=3UxXvkIFEBjX03cJBQw9&state=vaW5xUN1WgpCeH4j&expires_in=3599&token_type=bearer&code=bGYr1LRa9w9MrRC0wSYeBtVy2Usg3n&scope=openid%20profile |
2 | response | {'access_token': '3UxXvkIFEBjX03cJBQw9', 'state': 'vaW5xUN1WgpCeH4j', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'bGYr1LRa9w9MrRC0wSYeBtVy2Usg3n', 'scope': 'openid profile'} |
2 | AuthorizationResponse | {
"access_token": "3UxXvkIFEBjX03cJBQw9",
"code": "bGYr1LRa9w9MrRC0wSYeBtVy2Usg3n",
"expires_in": 3599,
"scope": "openid profile",
"state": "vaW5xUN1WgpCeH4j",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'vaW5xUN1WgpCeH4j'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb', 'code': 'bGYr1LRa9w9MrRC0wSYeBtVy2Usg3n', 'state': 'vaW5xUN1WgpCeH4j', 'grant_type': 'authorization_code', 'client_id': 'ziIHkiocglmwUFMcVAzV'}, 'state': 'vaW5xUN1WgpCeH4j', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiemlJSGtpb2NnbG13VUZNY1ZBelYiLCAic3ViIjogInppSUhraW9jZ2xtd1VGTWNWQXpWIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICIzN3U0WmxxRk9QV2pZSXI5RFY5QWFPM0tMNUEyVjloWCIsICJleHAiOiAxNTYwNzU1NjUyLCAiaWF0IjogMTU2MDc1NTA1Mn0.yeuCy2U7X3VAkYLk1dJtxHN6FFsp-ZELLbQi4RByn7tk1KStYHejDdlBXJMfnmLiwPoPqJhBHOcTuuD1J5JovN6bhGY4CxyPF8s6EtUCYt1z2pzE2euOGeXLfI4DMM3L912kBy6cWTzr6WBxtFD4J0v0Af2tS912UXabRqj_m8cOXv4LTbbh5jCOxcHyeWB2z10aaNHm1uqBe19Soo7V5_NX4-tHlrTLUaTlQFvx9yLzek8hKrMpE9UWeiDFs9L_S2Lm6vRCq_2W9TwHQ4V1ZCwRC2NvKpdjT83Lwa64gdirb9nL9unD8QRhSZ0mEvJKc6HHcs3E3fHjT0DkSla5LA",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "bGYr1LRa9w9MrRC0wSYeBtVy2Usg3n",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"state": "vaW5xUN1WgpCeH4j"
}
|
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
2 | request_http_args | {'headers': {'Content-Type': 'application/x-www-form-urlencoded'}} |
2 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&code=bGYr1LRa9w9MrRC0wSYeBtVy2Usg3n&state=vaW5xUN1WgpCeH4j&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiemlJSGtpb2NnbG13VUZNY1ZBelYiLCAic3ViIjogInppSUhraW9jZ2xtd1VGTWNWQXpWIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICIzN3U0WmxxRk9QV2pZSXI5RFY5QWFPM0tMNUEyVjloWCIsICJleHAiOiAxNTYwNzU1NjUyLCAiaWF0IjogMTU2MDc1NTA1Mn0.yeuCy2U7X3VAkYLk1dJtxHN6FFsp-ZELLbQi4RByn7tk1KStYHejDdlBXJMfnmLiwPoPqJhBHOcTuuD1J5JovN6bhGY4CxyPF8s6EtUCYt1z2pzE2euOGeXLfI4DMM3L912kBy6cWTzr6WBxtFD4J0v0Af2tS912UXabRqj_m8cOXv4LTbbh5jCOxcHyeWB2z10aaNHm1uqBe19Soo7V5_NX4-tHlrTLUaTlQFvx9yLzek8hKrMpE9UWeiDFs9L_S2Lm6vRCq_2W9TwHQ4V1ZCwRC2NvKpdjT83Lwa64gdirb9nL9unD8QRhSZ0mEvJKc6HHcs3E3fHjT0DkSla5LA&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
3 | response | {'access_token': 'ZMW1kDa826gfQJKG6wfy', 'refresh_token': 'GyHIeX28THLRR6IuIU2qDBLO1wAM51c13Rk5bnZk', 'scope': 'openid profile', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiOTh2T2xvZFk3RGdibG9NTDZLWjJMQSIsIm5vbmNlIjoiVzg1V3dxN0RpTlJzMUZ5TyIsIm5hbWUiOiJpc2FtZmVkIHRlc3R1c2VyIiwiaWF0IjoxNTYwNzU1MDUyLCJpc3MiOiJodHRwczovL2lzYW1mZWQuY29tOjMwNDQzL3Rlc3QiLCJhdF9oYXNoIjoiX05uQjBCOGtlM2VpWVZ6OWg1ZlVQUSIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzU4NDcyLCJhdWQiOiJ6aUlIa2lvY2dsbXdVRk1jVkF6ViJ9.tKNFjOTlqZp5RVUQXjoqMBhwChwx21HGVgeGpegcSGvWunYfAhk2cVuP0WLUKrOv_Efuq3c5dDk1Dg1g1-9VzWyvNNREhbcZL9y4muydtkCBApHVoJuNwB7xakS_EkyLFGkoayjYuQsSKpcQM8H5e59mH-Q_89R-WPLM_LNOPuyRK81qAO4Ot2OiXiJjokP6mtwlniGbC3gjIgW17iZ2yCxNyLDM5Wl6guOCkdXISFrnn7Ksu_z327ZDHr5XXSMIolYsrIOwBisSoYAA947ffvvxMgCUtd6wKxEkqiyyDro6jdrEEIO_cUBjIToBbRgye4XB4er4zvV6La9Ezc7_WQ', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "ZMW1kDa826gfQJKG6wfy",
"expires_in": 3599,
"id_token": {
"at_hash": "_NnB0B8ke3eiYVz9h5fUPQ",
"aud": [
"ziIHkiocglmwUFMcVAzV"
],
"exp": 1560758472,
"iat": 1560755052,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "W85Wwq7DiNRs1FyO",
"rt_hash": "98vOlodY7DgbloML6KZ2LA",
"sub": "testuser"
},
"refresh_token": "GyHIeX28THLRR6IuIU2qDBLO1wAM51c13Rk5bnZk",
"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': 'vaW5xUN1WgpCeH4j', '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 ZMW1kDa826gfQJKG6wfy'}} |
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 |