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": "CHgZHsqD1b0bOPU4",
"redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
"response_type": "code id_token token",
"scope": "openid phone",
"state": "c4mMKC7mJ8VNSPr5"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=c4mMKC7mJ8VNSPr5&nonce=CHgZHsqD1b0bOPU4&response_type=code+id_token+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=c4mMKC7mJ8VNSPr5&nonce=CHgZHsqD1b0bOPU4&response_type=code+id_token+token&scope=openid+phone&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=A4muyW9MIslC06ECkRKK&state=c4mMKC7mJ8VNSPr5&expires_in=3599&token_type=bearer&code=YBWdDwD9JrzBzGOTQ0Jwp2Ev3s9A35&scope=phone%20openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJub25jZSI6IkNIZ1pIc3FEMWIwYk9QVTQiLCJwaG9uZV9udW1iZXIiOiI4NzY1NDIxNSIsImlhdCI6MTU2MDc1OTgxNywiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IjN2MzBITkgyT25xN2JpdzlmZkZmamciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzIzNywiY19oYXNoIjoiSzIteERXQnNuWi1DdGdzUU44eGZfQSIsImF1ZCI6ImNsaWVudElEIn0.rBzsO1FHqT6ZaTDNGFMjywGsr06CpSPjfEAJEwSQH88khvipz7dB_jP_tT3slHciaaZhTejk0d8huKitrwON_ZEeXFGwooBw0d_PmqdINCDQGP7xnYVw0TfVHbe9MQ5lZ8JP4RmWeVIddUrfQxyopk5CrsTm_Nm5WiqMeKOYdRpqrytB3r-2tgoimp_IjgLGWxceukak8PXxOOML-xhs4ubJw-Mp7md2vAjcCOKFiKf-e7YY95knqpO8r1l71kA_9YEOUpbVwLe9trnhhdu1BkpaEnmXsxqb6aU2ReqQO1qqkLQ2FGdtkMGiLbfvjFDtGrlsM9cvnY8ho_TqjIJcRg |
2 | response | {'access_token': 'A4muyW9MIslC06ECkRKK', 'state': 'c4mMKC7mJ8VNSPr5', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'YBWdDwD9JrzBzGOTQ0Jwp2Ev3s9A35', 'scope': 'phone openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJub25jZSI6IkNIZ1pIc3FEMWIwYk9QVTQiLCJwaG9uZV9udW1iZXIiOiI4NzY1NDIxNSIsImlhdCI6MTU2MDc1OTgxNywiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IjN2MzBITkgyT25xN2JpdzlmZkZmamciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzIzNywiY19oYXNoIjoiSzIteERXQnNuWi1DdGdzUU44eGZfQSIsImF1ZCI6ImNsaWVudElEIn0.rBzsO1FHqT6ZaTDNGFMjywGsr06CpSPjfEAJEwSQH88khvipz7dB_jP_tT3slHciaaZhTejk0d8huKitrwON_ZEeXFGwooBw0d_PmqdINCDQGP7xnYVw0TfVHbe9MQ5lZ8JP4RmWeVIddUrfQxyopk5CrsTm_Nm5WiqMeKOYdRpqrytB3r-2tgoimp_IjgLGWxceukak8PXxOOML-xhs4ubJw-Mp7md2vAjcCOKFiKf-e7YY95knqpO8r1l71kA_9YEOUpbVwLe9trnhhdu1BkpaEnmXsxqb6aU2ReqQO1qqkLQ2FGdtkMGiLbfvjFDtGrlsM9cvnY8ho_TqjIJcRg'} |
2 | AuthorizationResponse | {
"access_token": "A4muyW9MIslC06ECkRKK",
"code": "YBWdDwD9JrzBzGOTQ0Jwp2Ev3s9A35",
"expires_in": 3599,
"id_token": {
"at_hash": "3v30HNH2Onq7biw9ffFfjg",
"aud": [
"clientID"
],
"c_hash": "K2-xDWBsnZ-CtgsQN8xf_A",
"exp": 1560763237,
"iat": 1560759817,
"iss": "https://isamfed.com:30443/test",
"nonce": "CHgZHsqD1b0bOPU4",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
},
"scope": "phone openid",
"state": "c4mMKC7mJ8VNSPr5",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'c4mMKC7mJ8VNSPr5'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb', 'code': 'YBWdDwD9JrzBzGOTQ0Jwp2Ev3s9A35', 'state': 'c4mMKC7mJ8VNSPr5', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'c4mMKC7mJ8VNSPr5', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "YBWdDwD9JrzBzGOTQ0Jwp2Ev3s9A35",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
"state": "c4mMKC7mJ8VNSPr5"
}
|
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%3A61578%2Fauthz_cb&code=YBWdDwD9JrzBzGOTQ0Jwp2Ev3s9A35&state=c4mMKC7mJ8VNSPr5 |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
3 | response | {'access_token': 'FdpiSXMgBDRTpZl9Cqrf', 'refresh_token': 'dkQ0TknxRRWXHj1v7Y1kdetLaPFEYcfWw9yNVyPg', 'scope': 'phone openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJydF9oYXNoIjoidUNvTXNQZ0N1SmUyMHJONEJDaS1jZyIsIm5vbmNlIjoiQ0hnWkhzcUQxYjBiT1BVNCIsInBob25lX251bWJlciI6Ijg3NjU0MjE1IiwiaWF0IjoxNTYwNzU5ODE4LCJpc3MiOiJodHRwczovL2lzYW1mZWQuY29tOjMwNDQzL3Rlc3QiLCJhdF9oYXNoIjoiU0p4UDlQb20wdHlFSUU5eEFWN3RLUSIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzYzMjM4LCJhdWQiOiJjbGllbnRJRCJ9.NsK8QeobIPKkqOIS6q6aWSchNkCMWM-LKoJ2sMmApn4gMTa8x_3f5eS-y8zCNU6rFhrrpc2rfBUG82GjrPQhRpMDihiqodoQkJPNnChmpVwq9a7M4jEafqjIYCjHaaO0WMtgS6fG2wwa9qazbBfUyIhzrI2vM13edBsBJY4e2VtmcKsYxncOpLiewjJpp7Gs4RGTbvJFiLJL8ay-iIk-AN9XfCQFvfWoAaE_ciP8g4ujrZZZyfNof5e-GWEP-vHmlNwj8YpGfrgBUR4CxgvwkIZpehGZdhALl63OyIqttrYjF0bypEvOHlze8vilsOR7cJ_5aU6zwp9uF0imkAZEUA', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "FdpiSXMgBDRTpZl9Cqrf",
"expires_in": 3599,
"id_token": {
"at_hash": "SJxP9Pom0tyEIE9xAV7tKQ",
"aud": [
"clientID"
],
"exp": 1560763238,
"iat": 1560759818,
"iss": "https://isamfed.com:30443/test",
"nonce": "CHgZHsqD1b0bOPU4",
"phone_number": "87654215",
"phone_number_verified": false,
"rt_hash": "uCoMsPgCuJe20rN4BCi-cg",
"sub": "testuser"
},
"refresh_token": "dkQ0TknxRRWXHj1v7Y1kdetLaPFEYcfWw9yNVyPg",
"scope": "phone openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'c4mMKC7mJ8VNSPr5', '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 FdpiSXMgBDRTpZl9Cqrf'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
3 | phase | <--<-- 6 --- Done -->--> |
3 | end | |
3 | assertion | VerifyScopes |
3 | condition | verify-scopes: status=OK [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 |