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_encryption_alg_values_supported": [
"RSA-OAEP-256"
],
"id_token_encryption_enc_values_supported": [
"A128CBC-HS256"
],
"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'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61583/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61583/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61583/static/jwks_61583.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
0 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61583/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61583/authz_cb"
],
"response_types": [
"code"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
0 | RegistrationResponse | {
"application_type": "web",
"client_id": "Lf4RtdJ8bTCgAzMMETPA",
"client_id_issued_at": 1560786304,
"client_secret": "dBfEhOlh22NkAKEp1DKL",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61583/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61583/authz_cb"
],
"registration_access_token": "QhAMvOjsuuPFjnAekybF",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=Lf4RtdJ8bTCgAzMMETPA",
"response_types": [
"code"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "Lf4RtdJ8bTCgAzMMETPA",
"nonce": "w6qLiyyZc9sf5uVf",
"redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
"response_type": "code",
"scope": "openid profile",
"state": "5d71CSXMfeBoGL6H"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=5d71CSXMfeBoGL6H&nonce=w6qLiyyZc9sf5uVf&response_type=code&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=Lf4RtdJ8bTCgAzMMETPA |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=5d71CSXMfeBoGL6H&nonce=w6qLiyyZc9sf5uVf&response_type=code&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=Lf4RtdJ8bTCgAzMMETPA |
1 | response | Response URL with query part |
1 | response | {'state': '5d71CSXMfeBoGL6H', 'code': '8hNu2NEPQLY40HFbTFzPTy7izrr9D6'} |
1 | response | {'state': '5d71CSXMfeBoGL6H', 'code': '8hNu2NEPQLY40HFbTFzPTy7izrr9D6'} |
1 | AuthorizationResponse | {
"code": "8hNu2NEPQLY40HFbTFzPTy7izrr9D6",
"state": "5d71CSXMfeBoGL6H"
}
|
1 | phase | <--<-- 4 --- AccessToken -->--> |
1 | request | op_args: {'state': '5d71CSXMfeBoGL6H'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb'} |
1 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb', 'code': '8hNu2NEPQLY40HFbTFzPTy7izrr9D6', 'state': '5d71CSXMfeBoGL6H', 'grant_type': 'authorization_code', 'client_id': 'Lf4RtdJ8bTCgAzMMETPA'}, 'state': '5d71CSXMfeBoGL6H', 'authn_method': 'private_key_jwt'}
|
1 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiTGY0UnRkSjhiVENnQXpNTUVUUEEiLCAic3ViIjogIkxmNFJ0ZEo4YlRDZ0F6TU1FVFBBIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJlMkJ5NmlYWmdPWkRZRklZUUF5R1JjaHhoQmZnU0tyQiIsICJleHAiOiAxNTYwNzg2OTA1LCAiaWF0IjogMTU2MDc4NjMwNX0.WsL3XGd4JxICtyKrlyZGmI_30MyRUcA9H8SCOTgOtY9hmkuGqlQdKry6kJFgR-VPxORMmhk9Hxq__ZA-JVAWInzj2uEsBbmbNn6SBA4Fw3z-wR-e8lulmYMkDLGZBGPmpNFsS0g7MzCCvTXehiKnMeJiPNcV7_GqhDUfBYSHM190JQifPGbVc6YwzOjuWKUi_moVyp7SLomOjmKWZ_4GH3CbIgaaWSHvo4uAcEZmlfLihPWAOeYXuGwtVhtQHRo8zNUomSF8djVHalbZQ0veFrLvYdEXeukQs5qR22-dxP3-_wKwuEfewSX8XVFk5CTo4MKbHGetnLz6yayhUQjPdw",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "8hNu2NEPQLY40HFbTFzPTy7izrr9D6",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
"state": "5d71CSXMfeBoGL6H"
}
|
1 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
1 | request_http_args | {'headers': {'Content-Type': 'application/x-www-form-urlencoded'}} |
1 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&code=8hNu2NEPQLY40HFbTFzPTy7izrr9D6&state=5d71CSXMfeBoGL6H&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiTGY0UnRkSjhiVENnQXpNTUVUUEEiLCAic3ViIjogIkxmNFJ0ZEo4YlRDZ0F6TU1FVFBBIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJlMkJ5NmlYWmdPWkRZRklZUUF5R1JjaHhoQmZnU0tyQiIsICJleHAiOiAxNTYwNzg2OTA1LCAiaWF0IjogMTU2MDc4NjMwNX0.WsL3XGd4JxICtyKrlyZGmI_30MyRUcA9H8SCOTgOtY9hmkuGqlQdKry6kJFgR-VPxORMmhk9Hxq__ZA-JVAWInzj2uEsBbmbNn6SBA4Fw3z-wR-e8lulmYMkDLGZBGPmpNFsS0g7MzCCvTXehiKnMeJiPNcV7_GqhDUfBYSHM190JQifPGbVc6YwzOjuWKUi_moVyp7SLomOjmKWZ_4GH3CbIgaaWSHvo4uAcEZmlfLihPWAOeYXuGwtVhtQHRo8zNUomSF8djVHalbZQ0veFrLvYdEXeukQs5qR22-dxP3-_wKwuEfewSX8XVFk5CTo4MKbHGetnLz6yayhUQjPdw&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'mW8LQK4FmJqJU457nOlW', 'refresh_token': 'lSP1T2nSdCFWXcMeVr2lt63I51zOo9BO0vIML9Em', 'scope': 'openid profile', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lk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DbxocX4ciGMbKzsp9QhpP0Gmt3DB8j4flhqJe9VkPMNM5wrPa-xyk2i1IP5eSJHuw7EO4QigIejGr8bcjhIo8YRI22ES4vNf7lxiGGcMjCEt-awglxH005eY-_I4cmQ8_Fw5zZEUF91d6Ku1SAFP1UVm4hUTAn4IuOV1dV3DRRSD-n--_OhZcDfc76APX7ABUKeZBqMpXtF3GCkCwbBYcKA6d9ILVZ61OLairlIXvyqXIGmCiLcdN870A8iX-Tl8DwgZf1KLSPz4e3B5AmEvjY9fPWOXkAW7fcpxczO4-awFpKj0trBzNHqZab7g-fgJG_6PP-odU9dgmA3zIIXzd8xlm4JLjLUQ7_LRrJktzVxxZNilrvVlBqYmIg2Yigsk9iJxkoqM5E46T5QWXkiew6CMyY.0G3V2PrvByqIJApHeJS8iA', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "mW8LQK4FmJqJU457nOlW",
"expires_in": 3599,
"id_token": {
"at_hash": "uPHtg6fTg9vhlUnzmXIMfA",
"aud": [
"Lf4RtdJ8bTCgAzMMETPA"
],
"exp": 1560789726,
"iat": 1560786306,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "w6qLiyyZc9sf5uVf",
"rt_hash": "oorr7Hl_BHVvSvCFgh_d8w",
"sub": "testuser"
},
"refresh_token": "lSP1T2nSdCFWXcMeVr2lt63I51zOo9BO0vIML9Em",
"scope": "openid profile",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | jwe header | {'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'} |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': '5d71CSXMfeBoGL6H', 'method': 'GET', 'authn_method': 'bearer_header'}
|
2 | request | {'body': None} |
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
2 | request_http_args | {'headers': {'Authorization': 'Bearer mW8LQK4FmJqJU457nOlW'}} |
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 |