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": "roV7jHMlpG8mY2cyCfUO",
"client_id_issued_at": 1560755037,
"client_secret": "hwKXTw784qRMplZrQXHl",
"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": "nHOK92uKsVw6Bffodbdz",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=roV7jHMlpG8mY2cyCfUO",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "roV7jHMlpG8mY2cyCfUO",
"nonce": "plBN4FMtlEok4ZWM",
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"response_type": "code token",
"scope": "openid address",
"state": "hOOpFFnhM9ym2uCZ"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=hOOpFFnhM9ym2uCZ&nonce=plBN4FMtlEok4ZWM&response_type=code+token&scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=roV7jHMlpG8mY2cyCfUO |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=hOOpFFnhM9ym2uCZ&nonce=plBN4FMtlEok4ZWM&response_type=code+token&scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=roV7jHMlpG8mY2cyCfUO |
1 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=947KKmJIcVVHU32N2vo4&state=hOOpFFnhM9ym2uCZ&expires_in=3599&token_type=bearer&code=mkimN7F1kUT94zqbPR05GJSEes8FGb&scope=address%20openid |
2 | response | {'access_token': '947KKmJIcVVHU32N2vo4', 'state': 'hOOpFFnhM9ym2uCZ', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'mkimN7F1kUT94zqbPR05GJSEes8FGb', 'scope': 'address openid'} |
2 | AuthorizationResponse | {
"access_token": "947KKmJIcVVHU32N2vo4",
"code": "mkimN7F1kUT94zqbPR05GJSEes8FGb",
"expires_in": 3599,
"scope": "address openid",
"state": "hOOpFFnhM9ym2uCZ",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'hOOpFFnhM9ym2uCZ'}, 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': 'mkimN7F1kUT94zqbPR05GJSEes8FGb', 'state': 'hOOpFFnhM9ym2uCZ', 'grant_type': 'authorization_code', 'client_id': 'roV7jHMlpG8mY2cyCfUO'}, 'state': 'hOOpFFnhM9ym2uCZ', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAicm9WN2pITWxwRzhtWTJjeUNmVU8iLCAic3ViIjogInJvVjdqSE1scEc4bVkyY3lDZlVPIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICIwQ0xjZ2ZlbXhtTEY4aWFLV05PbGVLTmNvQUEzdm9JeiIsICJleHAiOiAxNTYwNzU1NjM5LCAiaWF0IjogMTU2MDc1NTAzOX0.iv3ZMNCL0KoFlES7riDc0aVBX0tSsrxSW3Lx6L_BKvMJaZuCxrbyb7b951xFkgpmwfVDz6Z6-v9_9hYH_NZQP1-i7Qu0WdRkzb8Hx6QS5zJrn0JBir088lObCYx7SYEsVnOFziafVSbej_tbN7RJ5FHQkZLGTQ-OIz8AiHTR0os0yM1d4FAt4YxV7CAviZele5No8z9AgkHQIewT-w8QkQsS6XNZRBulsyTrsAEENIryWgRpIr3iUYOg-lyAYXN3BxnHrjBV2_5OBk9m96lHjvrvandc6kGLnBdyx4FCj7Hw6gVBgCDeOtmJTXyzOHccfozFxIoH7be2TWF7Pbb7mQ",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "mkimN7F1kUT94zqbPR05GJSEes8FGb",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"state": "hOOpFFnhM9ym2uCZ"
}
|
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=mkimN7F1kUT94zqbPR05GJSEes8FGb&state=hOOpFFnhM9ym2uCZ&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAicm9WN2pITWxwRzhtWTJjeUNmVU8iLCAic3ViIjogInJvVjdqSE1scEc4bVkyY3lDZlVPIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICIwQ0xjZ2ZlbXhtTEY4aWFLV05PbGVLTmNvQUEzdm9JeiIsICJleHAiOiAxNTYwNzU1NjM5LCAiaWF0IjogMTU2MDc1NTAzOX0.iv3ZMNCL0KoFlES7riDc0aVBX0tSsrxSW3Lx6L_BKvMJaZuCxrbyb7b951xFkgpmwfVDz6Z6-v9_9hYH_NZQP1-i7Qu0WdRkzb8Hx6QS5zJrn0JBir088lObCYx7SYEsVnOFziafVSbej_tbN7RJ5FHQkZLGTQ-OIz8AiHTR0os0yM1d4FAt4YxV7CAviZele5No8z9AgkHQIewT-w8QkQsS6XNZRBulsyTrsAEENIryWgRpIr3iUYOg-lyAYXN3BxnHrjBV2_5OBk9m96lHjvrvandc6kGLnBdyx4FCj7Hw6gVBgCDeOtmJTXyzOHccfozFxIoH7be2TWF7Pbb7mQ&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': 'l7PUK1wGbCzTTpODtTUZ', 'refresh_token': 'E56vTPvpyenQvJpir3ban6dDNac41Uwny5Bpq8Qv', 'scope': 'address openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiU3A2T1R1c213MUtJSzFCSnVLMXBFUSIsIm5vbmNlIjoicGxCTjRGTXRsRW9rNFpXTSIsImlhdCI6MTU2MDc1NTAzOSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6ImFJUU1ZS0x4M1ptWmRiVFB6VC1fcVEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODQ1OSwiYXVkIjoicm9WN2pITWxwRzhtWTJjeUNmVU8ifQ.DeiQNc-pb2FLib4jv6D4qr_uUyJ0IacpA4q6xlvtoTrDxgJnvdyIeSEGr4qBIg4PhAg5A7t8GEOGytGd0UQXzLrYXeRKE5Un65lJQaGAtrPHahMnxhkrPBnPtPff4n7nlH310n1pgVm0jQBvEFlHzaT1qUpnaZXIPKhq_nhMihD1JvFH8kdjGhiwPUXllFzFqHxWIuSWNF7ILQ-o8RVvYhq1J4cFTjCqBiKnGC0DfMmRS2o62kCPbJYZ0blRj7seiKMgSWsgxKZ3RhdAtNRiaNUpEgLg5BoYL3hhapr6r3s7g3Jt2lUvI0HWUHdgIHV3VNazIMRiraR11sAhDUzesQ', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "l7PUK1wGbCzTTpODtTUZ",
"expires_in": 3599,
"id_token": {
"at_hash": "aIQMYKLx3ZmZdbTPzT-_qQ",
"aud": [
"roV7jHMlpG8mY2cyCfUO"
],
"exp": 1560758459,
"iat": 1560755039,
"iss": "https://isamfed.com:30443/test",
"nonce": "plBN4FMtlEok4ZWM",
"rt_hash": "Sp6OTusmw1KIK1BJuK1pEQ",
"sub": "testuser"
},
"refresh_token": "E56vTPvpyenQvJpir3ban6dDNac41Uwny5Bpq8Qv",
"scope": "address openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': 'hOOpFFnhM9ym2uCZ', '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 l7PUK1wGbCzTTpODtTUZ'}} |
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 | VerifyScopes |
3 | condition | verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['address'] [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 |