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_encryption_alg_values_supported": [
"RSA-OAEP-256"
],
"id_token_encryption_enc_values_supported": [
"A128CBC-HS256"
],
"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:61707/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61707/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61707/static/jwks_61707.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
0 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit",
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61707/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61707/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": "XuEhkhlR9QIEBghntt7R",
"client_id_issued_at": 1560784143,
"client_secret": "zVti2SPj59Njx8NjczEe",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit",
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61707/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61707/authz_cb"
],
"registration_access_token": "kipJFZpqx5p8rBuXocIN",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=XuEhkhlR9QIEBghntt7R",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "XuEhkhlR9QIEBghntt7R",
"nonce": "pujLltyKIUIv21Be",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"response_type": "code token",
"scope": "openid",
"state": "ImbLgyDgYJLwhIKq"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=ImbLgyDgYJLwhIKq&nonce=pujLltyKIUIv21Be&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=XuEhkhlR9QIEBghntt7R |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=ImbLgyDgYJLwhIKq&nonce=pujLltyKIUIv21Be&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=XuEhkhlR9QIEBghntt7R |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=LQjm5ykXifcs37JqPTX2&state=ImbLgyDgYJLwhIKq&expires_in=3599&token_type=bearer&code=Ly6xLWJaRfat2UCTidajF7Qd9eJbKI&scope=openid |
2 | response | {'access_token': 'LQjm5ykXifcs37JqPTX2', 'state': 'ImbLgyDgYJLwhIKq', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'Ly6xLWJaRfat2UCTidajF7Qd9eJbKI', 'scope': 'openid'} |
2 | AuthorizationResponse | {
"access_token": "LQjm5ykXifcs37JqPTX2",
"code": "Ly6xLWJaRfat2UCTidajF7Qd9eJbKI",
"expires_in": 3599,
"scope": "openid",
"state": "ImbLgyDgYJLwhIKq",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'ImbLgyDgYJLwhIKq', 'authn_method': 'private_key_jwt'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': 'Ly6xLWJaRfat2UCTidajF7Qd9eJbKI', 'state': 'ImbLgyDgYJLwhIKq', 'grant_type': 'authorization_code', 'client_id': 'XuEhkhlR9QIEBghntt7R'}, 'state': 'ImbLgyDgYJLwhIKq', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiWHVFaGtobFI5UUlFQmdobnR0N1IiLCAic3ViIjogIlh1RWhraGxSOVFJRUJnaG50dDdSIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJsN2xKck85d250SUVEdEpEYUNLOXBqM3c2TG1uTVA2cyIsICJleHAiOiAxNTYwNzg0NzQ1LCAiaWF0IjogMTU2MDc4NDE0NX0.QZtLGaaRYxoIypB73o1Jw87oiY351OgQndouwCbOW1X0qntuq13fTkzeXVAFTtnSs2QMv_1f6SHWG5MDGnS6QsSfYGBmV8T5uITJH_8akIiKgRGyVsP0MKIHuzxltfWhgACXPvVmsBiilh8NbStuNYOOt8Quu3wH6t39_01UlY1feJFjByWxyfpFMSg-R1-4oJ1iQ_ljCUlpXsjbElrdvbkepCHzO3C1rwun4rcFfxXLwRrglEQ67OEDZdDRsKA7esu5Zp_MXJ7bF7XkPdyj_xF20bhv-3OVG4IMLf01BtzmlMzVTXu40dwR1ES9Zt2nGm18FQG2lbaWK7pTLJeHww",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "Ly6xLWJaRfat2UCTidajF7Qd9eJbKI",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"state": "ImbLgyDgYJLwhIKq"
}
|
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%3A61707%2Fauthz_cb&code=Ly6xLWJaRfat2UCTidajF7Qd9eJbKI&state=ImbLgyDgYJLwhIKq&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiWHVFaGtobFI5UUlFQmdobnR0N1IiLCAic3ViIjogIlh1RWhraGxSOVFJRUJnaG50dDdSIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJsN2xKck85d250SUVEdEpEYUNLOXBqM3c2TG1uTVA2cyIsICJleHAiOiAxNTYwNzg0NzQ1LCAiaWF0IjogMTU2MDc4NDE0NX0.QZtLGaaRYxoIypB73o1Jw87oiY351OgQndouwCbOW1X0qntuq13fTkzeXVAFTtnSs2QMv_1f6SHWG5MDGnS6QsSfYGBmV8T5uITJH_8akIiKgRGyVsP0MKIHuzxltfWhgACXPvVmsBiilh8NbStuNYOOt8Quu3wH6t39_01UlY1feJFjByWxyfpFMSg-R1-4oJ1iQ_ljCUlpXsjbElrdvbkepCHzO3C1rwun4rcFfxXLwRrglEQ67OEDZdDRsKA7esu5Zp_MXJ7bF7XkPdyj_xF20bhv-3OVG4IMLf01BtzmlMzVTXu40dwR1ES9Zt2nGm18FQG2lbaWK7pTLJeHww&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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r3tIufQcblgL2Tkb8Lie7P6sMi0FLosFwq2phuQSEV1tsBpdQ4FeskRkVp7uc-cmgCP6Kn_rWF7pp3NYz68wUvGvupuKRsv7mnHWpc9wCWADX6gwd9NCQ8NfZxG3Icguk7vS9Egi7pHHGER69OhYNV9Y1E-0HFoPH-LNRdYiWFy6XYXsZebYIW3TqPomUphYZXsKIp59_aWEyPGouVOUVm6L2OgJkMJdQ_QHNqeQ9SU-kZBU2nZ9SpYY1a8qpFpSb6LS5WT8VJ7pYctq_6-K-ydQp3EwkKjEt59sF8LGgx5q2FOmXmBpvM9rtBLvgjPlUTJvHrI8haRRDkWrisyFmqVZGuCCCfis-02IwO-F8XvlMbJ3J_Y6JZa1dnAuOykbofQ-hafaqhBUkf5bOeHCTHyrHm_4MlmBP3KXcRsD9QDrreYQ9DxLzGxDcu1x6j47Mdx3-vjJ3FH2y-PXYLaQqIeIX5zmR_eMlWhWjKAnGrjskEX-B8cIAFUnGTCNcQdA6sFTQtVYA.0KlQOuDjkU-6DQvGyNuyXA', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "AGS6QJIzIunJkS6wkdIv",
"expires_in": 3599,
"id_token": {
"at_hash": "0CMRKvZoMH9bd8mXHcBJIQ",
"aud": [
"XuEhkhlR9QIEBghntt7R"
],
"exp": 1560787566,
"iat": 1560784146,
"iss": "https://isamfed.com:30443/test",
"nonce": "pujLltyKIUIv21Be",
"rt_hash": "v_uzShuO8HL5flGPQFbgKA",
"sub": "testuser"
},
"refresh_token": "OFpsAbMY1lduLHgKVznUKbfDtQpE20bWwwnhBMjy",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | jwe header | {'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'} |
3 | phase | <--<-- 5 --- Done -->--> |
3 | end | |
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 |