0 | phase | <--<-- 0 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 1 --- Discovery -->--> |
0 | provider_config | kwargs:{'issuer': 'https://isamfed.com:30443/test'}
|
1 | http response | url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
|
1 | 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"
}
|
1 | phase | <--<-- 2 --- Registration -->--> |
1 | register | kwargs:{'response_types': ['id_token token'], 'grant_types': ['implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61187/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61187/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61187/static/jwks_61187.json', 'token_endpoint_auth_method': 'private_key_jwt', 'userinfo_signed_response_alg': 'RS256'}
|
1 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit"
],
"jwks_uri": "https://op.certification.openid.net:61187/static/jwks_61187.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61187/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61187/authz_cb"
],
"response_types": [
"id_token token"
],
"token_endpoint_auth_method": "private_key_jwt",
"userinfo_signed_response_alg": "RS256"
}
|
1 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
1 | RegistrationResponse | {
"application_type": "web",
"client_id": "JrR4VfpqDEY5cxcTpbd8",
"client_id_issued_at": 1560754722,
"client_secret": "pWD5YptJcsU6v8PW42F0",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit"
],
"jwks_uri": "https://op.certification.openid.net:61187/static/jwks_61187.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61187/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61187/authz_cb"
],
"registration_access_token": "EqzFBPCraukzcTpUvpGw",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=JrR4VfpqDEY5cxcTpbd8",
"response_types": [
"id_token",
"token"
],
"token_endpoint_auth_method": "private_key_jwt",
"userinfo_signed_response_alg": "RS256"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "JrR4VfpqDEY5cxcTpbd8",
"nonce": "bexyAJKyIfuwRiJC",
"redirect_uri": "https://op.certification.openid.net:61187/authz_cb",
"response_type": "id_token token",
"scope": "openid",
"state": "vYSxR0llJ3Lyfm9S"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=vYSxR0llJ3Lyfm9S&nonce=bexyAJKyIfuwRiJC&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61187%2Fauthz_cb&client_id=JrR4VfpqDEY5cxcTpbd8 |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=vYSxR0llJ3Lyfm9S&nonce=bexyAJKyIfuwRiJC&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61187%2Fauthz_cb&client_id=JrR4VfpqDEY5cxcTpbd8 |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=4ACiJvFsImuM9LRZziC9&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImJleHlBSkt5SWZ1d1JpSkMiLCJpYXQiOjE1NjA3NTQ3MjIsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJyMDVHWXVuUFBNMzY2bTE3eU9yaWRRIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTgxNDIsImF1ZCI6IkpyUjRWZnBxREVZNWN4Y1RwYmQ4In0.VbfFEVgNMV_L9El8FlfaJhE8jGYxta2KUe1LybDa-ojJZNa-E75ZGLZ-rUKY9V0YiLv0LJ9W4ZPxT-0NZGXht8Sp_srgzU2j9QpSidnW1doe9RtHT5jvM8ndNlE_-C1MtIXbW4ta4MdGdQHoZUUeN0PxsBZqovcqeC6C65hHTim9AaP3oA6a_nZbLS5yVQ7jWnAgTYMcdUvM84ehnM54k1KluVkmMmqeRY40R6R_74C0IlKmbOrHj0UjZdAHvWrH_D-VuEknVgO3IWTpZjUClQoEH9eWHU4KVTgZYI7XkMzrNMIOBnSev0cTEPs22R94RJ7tQX0V_ESUJ-XTnqOePg&state=vYSxR0llJ3Lyfm9S&expires_in=3599&token_type=bearer&scope=openid |
2 | response | {'access_token': '4ACiJvFsImuM9LRZziC9', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImJleHlBSkt5SWZ1d1JpSkMiLCJpYXQiOjE1NjA3NTQ3MjIsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJyMDVHWXVuUFBNMzY2bTE3eU9yaWRRIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTgxNDIsImF1ZCI6IkpyUjRWZnBxREVZNWN4Y1RwYmQ4In0.VbfFEVgNMV_L9El8FlfaJhE8jGYxta2KUe1LybDa-ojJZNa-E75ZGLZ-rUKY9V0YiLv0LJ9W4ZPxT-0NZGXht8Sp_srgzU2j9QpSidnW1doe9RtHT5jvM8ndNlE_-C1MtIXbW4ta4MdGdQHoZUUeN0PxsBZqovcqeC6C65hHTim9AaP3oA6a_nZbLS5yVQ7jWnAgTYMcdUvM84ehnM54k1KluVkmMmqeRY40R6R_74C0IlKmbOrHj0UjZdAHvWrH_D-VuEknVgO3IWTpZjUClQoEH9eWHU4KVTgZYI7XkMzrNMIOBnSev0cTEPs22R94RJ7tQX0V_ESUJ-XTnqOePg', 'state': 'vYSxR0llJ3Lyfm9S', 'expires_in': 3599, 'token_type': 'bearer', 'scope': 'openid'} |
2 | AuthorizationResponse | {
"access_token": "4ACiJvFsImuM9LRZziC9",
"expires_in": 3599,
"id_token": {
"at_hash": "r05GYunPPM366m17yOridQ",
"aud": [
"JrR4VfpqDEY5cxcTpbd8"
],
"exp": 1560758142,
"iat": 1560754722,
"iss": "https://isamfed.com:30443/test",
"nonce": "bexyAJKyIfuwRiJC",
"sub": "testuser"
},
"scope": "openid",
"state": "vYSxR0llJ3Lyfm9S",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': 'vYSxR0llJ3Lyfm9S', 'method': 'GET', 'authn_method': 'bearer_header', 'ctype': 'jwt'}
|
2 | request | {'body': None} |
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
2 | request_http_args | {'headers': {'Authorization': 'Bearer 4ACiJvFsImuM9LRZziC9'}} |
5 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
5 | OpenIDSchema | {
"aud": "JrR4VfpqDEY5cxcTpbd8",
"iss": "https://isamfed.com:30443/test",
"sub": "testuser"
}
|
5 | OpenIDSchema | {
"aud": "JrR4VfpqDEY5cxcTpbd8",
"iss": "https://isamfed.com:30443/test",
"sub": "testuser"
}
|
5 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
5 | phase | <--<-- 6 --- Done -->--> |
5 | end | |
5 | assertion | CheckAsymSignedUserInfo |
5 | condition | asym-signed-userinfo: status=OK [Verifies that the UserInfo was signed with a RSA key] |
5 | assertion | VerifyResponse |
5 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
5 | condition | Done: status=OK |