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"
}
|
0 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
0 | RegistrationResponse | {
"application_type": "web",
"client_id": "PR0mSFrfeU2XcLw9ojua",
"client_id_issued_at": 1560755046,
"client_secret": "Udg2N3auezGvYb06tK2d",
"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": "HLofuM7MbqCOZA5Zb6bY",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=PR0mSFrfeU2XcLw9ojua",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "PR0mSFrfeU2XcLw9ojua",
"nonce": "KcQYlyMNyWmQyQhl",
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"response_type": "code token",
"scope": "openid phone",
"state": "mqwy34s8Bm3dszGr"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=mqwy34s8Bm3dszGr&nonce=KcQYlyMNyWmQyQhl&response_type=code+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=PR0mSFrfeU2XcLw9ojua |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=mqwy34s8Bm3dszGr&nonce=KcQYlyMNyWmQyQhl&response_type=code+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=PR0mSFrfeU2XcLw9ojua |
1 | http args | {} |
1 | response | URL with fragment |
1 | response | access_token=RrrJTDCLXzwBQK8T99lw&state=mqwy34s8Bm3dszGr&expires_in=3599&token_type=bearer&code=VqTTHx6YCpfHw8nS0mwCZrhTcuVQvk&scope=phone%20openid |
1 | response | {'access_token': 'RrrJTDCLXzwBQK8T99lw', 'state': 'mqwy34s8Bm3dszGr', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'VqTTHx6YCpfHw8nS0mwCZrhTcuVQvk', 'scope': 'phone openid'} |
1 | AuthorizationResponse | {
"access_token": "RrrJTDCLXzwBQK8T99lw",
"code": "VqTTHx6YCpfHw8nS0mwCZrhTcuVQvk",
"expires_in": 3599,
"scope": "phone openid",
"state": "mqwy34s8Bm3dszGr",
"token_type": "bearer"
}
|
1 | phase | <--<-- 4 --- AccessToken -->--> |
1 | request | op_args: {'state': 'mqwy34s8Bm3dszGr'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb'} |
1 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb', 'code': 'VqTTHx6YCpfHw8nS0mwCZrhTcuVQvk', 'state': 'mqwy34s8Bm3dszGr', 'grant_type': 'authorization_code', 'client_id': 'PR0mSFrfeU2XcLw9ojua'}, 'state': 'mqwy34s8Bm3dszGr', 'authn_method': 'private_key_jwt'}
|
1 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiUFIwbVNGcmZlVTJYY0x3OW9qdWEiLCAic3ViIjogIlBSMG1TRnJmZVUyWGNMdzlvanVhIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJRb1NxYXhZVUJmbW1tWGZuTHFwNkI1N2drT0NCOHdySyIsICJleHAiOiAxNTYwNzU1NjQ3LCAiaWF0IjogMTU2MDc1NTA0N30.WivVNEBDL2dngtCRgRFRp-nqjEZzR4VwcaemKPSBCvezo5nOGjSAsHWgwrLd4IVr1dGopAM5bgIgWp2OuXQPs8ybzlUUhbF8RSJ6gw7wxQkREisLW6jQ8lVLzrnO1tFiu_elDqYFUaWtNHZYw8XRbm339vsYI5X8BdhKdkCGAGc_-_S4yYwYtKxbGeASLRTdmygi6ic8t1swXN7hWLlAuOHP7tmo74UuD2SUruD4Im5zcRGTzwner96GV_EhrzaBA5YDjCvKWKk2fB6kDBOkaR-dfqW5WNT8yQatwie-5_KLExUSYtiXeG3vHDBd3Nd9FXvsfIlo9rOcsr9FEnXpyw",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "VqTTHx6YCpfHw8nS0mwCZrhTcuVQvk",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"state": "mqwy34s8Bm3dszGr"
}
|
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%3A61240%2Fauthz_cb&code=VqTTHx6YCpfHw8nS0mwCZrhTcuVQvk&state=mqwy34s8Bm3dszGr&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiUFIwbVNGcmZlVTJYY0x3OW9qdWEiLCAic3ViIjogIlBSMG1TRnJmZVUyWGNMdzlvanVhIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJRb1NxYXhZVUJmbW1tWGZuTHFwNkI1N2drT0NCOHdySyIsICJleHAiOiAxNTYwNzU1NjQ3LCAiaWF0IjogMTU2MDc1NTA0N30.WivVNEBDL2dngtCRgRFRp-nqjEZzR4VwcaemKPSBCvezo5nOGjSAsHWgwrLd4IVr1dGopAM5bgIgWp2OuXQPs8ybzlUUhbF8RSJ6gw7wxQkREisLW6jQ8lVLzrnO1tFiu_elDqYFUaWtNHZYw8XRbm339vsYI5X8BdhKdkCGAGc_-_S4yYwYtKxbGeASLRTdmygi6ic8t1swXN7hWLlAuOHP7tmo74UuD2SUruD4Im5zcRGTzwner96GV_EhrzaBA5YDjCvKWKk2fB6kDBOkaR-dfqW5WNT8yQatwie-5_KLExUSYtiXeG3vHDBd3Nd9FXvsfIlo9rOcsr9FEnXpyw&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': 'vDV0pjLrr4i0ucq2Dme7', 'refresh_token': 'AJEDF5odC3CpK52G5zpksnbQ9xlaCqEgTArKcJew', 'scope': 'phone openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJydF9oYXNoIjoiRG8yMlB2S25pYk9BaGFtenlKdUVRdyIsIm5vbmNlIjoiS2NRWWx5TU55V21ReVFobCIsInBob25lX251bWJlciI6Ijg3NjU0MjE1IiwiaWF0IjoxNTYwNzU1MDQ4LCJpc3MiOiJodHRwczovL2lzYW1mZWQuY29tOjMwNDQzL3Rlc3QiLCJhdF9oYXNoIjoiMkJvblU2T3JBYTFERGk0aGxSTzlmdyIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzU4NDY4LCJhdWQiOiJQUjBtU0ZyZmVVMlhjTHc5b2p1YSJ9.yzlwtG6Lc5RZzJZiHzjP_oVv2aOkcFihJaXicuPNLVDixTOh_m7fdxwoNb-XVh9zQxUFxLon95kPcc5rho2DCT1kj4VjuAZ3tXUC_zgW6lwAhjWhvkqs8DT8bs2CMXqp2iHjS3dGB9PLpjtcd-4jO43nN6quTgKOJKhieMi1Zz6pz4kYwcnA5L_rz3XcJIm_PAL0pIbq9-5i2zDcmohX47oyEFdk44AswF26IdrbsdY4G05RgxzjCBtevhFel6Gh58YZryCCQXc4PWSk7f7AmCeABG1akCaX-kPdwWPkvdkhF6JnluI52DM-0EUhh_oEhiYYwZdODgcSdU3yGrbtjQ', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "vDV0pjLrr4i0ucq2Dme7",
"expires_in": 3599,
"id_token": {
"at_hash": "2BonU6OrAa1DDi4hlRO9fw",
"aud": [
"PR0mSFrfeU2XcLw9ojua"
],
"exp": 1560758468,
"iat": 1560755048,
"iss": "https://isamfed.com:30443/test",
"nonce": "KcQYlyMNyWmQyQhl",
"phone_number": "87654215",
"phone_number_verified": false,
"rt_hash": "Do22PvKnibOAhamzyJuEQw",
"sub": "testuser"
},
"refresh_token": "AJEDF5odC3CpK52G5zpksnbQ9xlaCqEgTArKcJew",
"scope": "phone openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': 'mqwy34s8Bm3dszGr', '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 vDV0pjLrr4i0ucq2Dme7'}} |
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 |