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 id_token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61365/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61365/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61365/static/jwks_61365.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:61365/static/jwks_61365.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61365/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61365/authz_cb"
],
"response_types": [
"code id_token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
1 | RegistrationResponse | {
"application_type": "web",
"client_id": "ef1g2xp4zNNJNyZjFH4b",
"client_id_issued_at": 1560755783,
"client_secret": "eMV5HyarrXmSjvknvlxo",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code",
"implicit"
],
"jwks_uri": "https://op.certification.openid.net:61365/static/jwks_61365.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61365/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61365/authz_cb"
],
"registration_access_token": "X6p6djjsAu1pKIKx6hIN",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=ef1g2xp4zNNJNyZjFH4b",
"response_types": [
"code",
"id_token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "ef1g2xp4zNNJNyZjFH4b",
"nonce": "c1UUb8Mu7uHhjt8Z",
"redirect_uri": "https://op.certification.openid.net:61365/authz_cb",
"response_type": "code id_token",
"scope": "openid profile email address phone",
"state": "cV1qhlzUpjO8APqC"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=cV1qhlzUpjO8APqC&nonce=c1UUb8Mu7uHhjt8Z&response_type=code+id_token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&client_id=ef1g2xp4zNNJNyZjFH4b |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=cV1qhlzUpjO8APqC&nonce=c1UUb8Mu7uHhjt8Z&response_type=code+id_token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&client_id=ef1g2xp4zNNJNyZjFH4b |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | state=cV1qhlzUpjO8APqC&code=rraMWFc2ZXYHy3HvbIYuw9B36py6Zo&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJub25jZSI6ImMxVVViOE11N3VIaGp0OFoiLCJlbWFpbCI6InRlc3RfaXNhbWZlZEBnbWFpbC5jb20iLCJwaG9uZV9udW1iZXIiOiI4NzY1NDIxNSIsIm5hbWUiOiJpc2FtZmVkIHRlc3R1c2VyIiwiaWF0IjoxNTYwNzU1Nzg0LCJpc3MiOiJodHRwczovL2lzYW1mZWQuY29tOjMwNDQzL3Rlc3QiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1OTIwNC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XfXzBsuigHG65MFEaccBCl1clJ2TdI5xS-E41UH3h41l-1Snuba7atDKj8wSq8sHtu4Gd_Vw0hT299V51f_9XIhlxqtUTxEaumdWO9JluWi9axmLqntnJ4mrP5DoS53F5sy7jZFaJmuFCnwtqAX-JGQ98k1ESrfi0_7FUNfJIKEGaQ-Ci--uuGUQiV2iC8-uXUoSaBrPy-0Piu-c8POstvk85zJfLMFZ8g3iOuM9KSZ_5-VRP1UwRLRK8NBGjvnsfReuJq0BPMicKJeiW7wSGa5hHC34GdGSCsSQKy0JukWocp1C2M9Gkc8CNMx66MguEa_I3hSFg9tCZWw'} |
2 | AuthorizationResponse | {
"code": "rraMWFc2ZXYHy3HvbIYuw9B36py6Zo",
"id_token": {
"aud": [
"ef1g2xp4zNNJNyZjFH4b"
],
"c_hash": "LD9FIa_PolsBweUXQgWx1w",
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560759204,
"iat": 1560755784,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "c1UUb8Mu7uHhjt8Z",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
},
"state": "cV1qhlzUpjO8APqC"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'cV1qhlzUpjO8APqC'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61365/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61365/authz_cb', 'code': 'rraMWFc2ZXYHy3HvbIYuw9B36py6Zo', 'state': 'cV1qhlzUpjO8APqC', 'grant_type': 'authorization_code', 'client_id': 'ef1g2xp4zNNJNyZjFH4b'}, 'state': 'cV1qhlzUpjO8APqC', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZWYxZzJ4cDR6Tk5KTnlaakZINGIiLCAic3ViIjogImVmMWcyeHA0ek5OSk55WmpGSDRiIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJTMDhXV2hGUTVWdko2bmowVk1uemhPWURuTjNUTDFrVyIsICJleHAiOiAxNTYwNzU2Mzg1LCAiaWF0IjogMTU2MDc1NTc4NX0.bIiYECif8Wk9NQ-GxnH3mFgricz3xVKi91eEBNVMRU3X0IfwwhyW0WE0UHntsDFvbkrRZ1_PlRQ7TRG-hR2ODq-NAwGJB8AcjS5_gNA44LLvt8qSJNmKnWx7c3sfiGAK-HUyYgqzwFMO1rmICGjqSutoaS7qXxLSJuXxac3BYaTF6kzFtaGcZC2EvtC17RJ4rrbWBNMKxpSf-QLVjNecHeATdljA2cnt5-pQo_X_DOizejGv4un2u_XmZNJL17ywTOZ-tX1tifXCtwFp7bMmk2QXyi1V8kC_a1wZioeImX5oLDv110cy4Ye48Nf0unfd55NF8iKPOGmMhi1Nd9ae4g",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "rraMWFc2ZXYHy3HvbIYuw9B36py6Zo",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61365/authz_cb",
"state": "cV1qhlzUpjO8APqC"
}
|
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%3A61365%2Fauthz_cb&code=rraMWFc2ZXYHy3HvbIYuw9B36py6Zo&state=cV1qhlzUpjO8APqC&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZWYxZzJ4cDR6Tk5KTnlaakZINGIiLCAic3ViIjogImVmMWcyeHA0ek5OSk55WmpGSDRiIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJTMDhXV2hGUTVWdko2bmowVk1uemhPWURuTjNUTDFrVyIsICJleHAiOiAxNTYwNzU2Mzg1LCAiaWF0IjogMTU2MDc1NTc4NX0.bIiYECif8Wk9NQ-GxnH3mFgricz3xVKi91eEBNVMRU3X0IfwwhyW0WE0UHntsDFvbkrRZ1_PlRQ7TRG-hR2ODq-NAwGJB8AcjS5_gNA44LLvt8qSJNmKnWx7c3sfiGAK-HUyYgqzwFMO1rmICGjqSutoaS7qXxLSJuXxac3BYaTF6kzFtaGcZC2EvtC17RJ4rrbWBNMKxpSf-QLVjNecHeATdljA2cnt5-pQo_X_DOizejGv4un2u_XmZNJL17ywTOZ-tX1tifXCtwFp7bMmk2QXyi1V8kC_a1wZioeImX5oLDv110cy4Ye48Nf0unfd55NF8iKPOGmMhi1Nd9ae4g&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
3 | response | {'access_token': 'u8mWrbxYtGZJ3UvoLIWr', 'refresh_token': 'oU8rKsFOg8to9G1oyizxCJqaZk3TCVSUeSh78gyL', 'scope': 'address phone openid profile email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJydF9oYXNoIjoiYkhGM2hYZnNiUzlYd0JWYnlQeTBKQSIsIm5vbmNlIjoiYzFVVWI4TXU3dUhoanQ4WiIsImVtYWlsIjoidGVzdF9pc2FtZmVkQGdtYWlsLmNvbSIsInBob25lX251bWJlciI6Ijg3NjU0MjE1IiwiaWF0IjoxNTYwNzU1Nzg2LCJpc3MiOiJodHRwczovL2lzYW1mZWQuY29tOjMwNDQzL3Rlc3QiLCJhdF9oYXNoIjoiaUhBN09laF8zUG5pbW00SEd2clFxZyIsInN1YiI6InRlc3R1c2VyIiwibmFtZSI6ImlzYW1mZWQgdGVzdHVzZXIiLCJleHAiOjE1NjA3NTkyMDYsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiYXVkIjoiZWYxZzJ4cDR6Tk5KTnlaakZINGIifQ.V8VRRwUZRz5ip7p9KgDjWnMk-weNJFL_Ne1jxULJOmKyzhlshgha-oacSm7D2GUsO_1aItCyecQdUJh5f2Wj8dVLuTuzUcE0dFDFxSUAWB9rXqSSXVk2p0U6Hzl560zEE9xiPZCbMBcGgTE1Nngh-WtAPmieB3MBR0OX2xggwTNFIzuIRTNKKnp28g074iojM6GYjo8a8N05Wt1SnlfeXI0TPeYHUtv7OaSHBczSuI37CNgrhN33N6Ys1B3KKRbI3aCaXJu4BedmZJ0qjp6ouDFXlb59vDm41U12MtsHrV7S2qgIHn1HCXxWw2Q2dILvhdD9UH-F-PmF1JUqpoxEGg', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "u8mWrbxYtGZJ3UvoLIWr",
"expires_in": 3599,
"id_token": {
"at_hash": "iHA7Oeh_3Pnimm4HGvrQqg",
"aud": [
"ef1g2xp4zNNJNyZjFH4b"
],
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560759206,
"iat": 1560755786,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "c1UUb8Mu7uHhjt8Z",
"phone_number": "87654215",
"phone_number_verified": false,
"rt_hash": "bHF3hXfsbS9XwBVbyPy0JA",
"sub": "testuser"
},
"refresh_token": "oU8rKsFOg8to9G1oyizxCJqaZk3TCVSUeSh78gyL",
"scope": "address phone openid profile email",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'cV1qhlzUpjO8APqC', '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 u8mWrbxYtGZJ3UvoLIWr'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"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', '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 |