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': ['code'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61164/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61164/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61164/static/jwks_61164.json', 'token_endpoint_auth_method': 'private_key_jwt', 'id_token_signed_response_alg': 'RS256'}
|
1 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"id_token_signed_response_alg": "RS256",
"jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61164/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61164/authz_cb"
],
"response_types": [
"code"
],
"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": "q7YsNEtvCyJlyt1aDHUT",
"client_id_issued_at": 1560753517,
"client_secret": "u4ZvGTRTTVSvOgCP3Kzw",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"id_token_signed_response_alg": "RS256",
"jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61164/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61164/authz_cb"
],
"registration_access_token": "mD2Egp4M0kxcv5p60Nds",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=q7YsNEtvCyJlyt1aDHUT",
"response_types": [
"code"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "q7YsNEtvCyJlyt1aDHUT",
"nonce": "K9DsCj0vNaK3YSZI",
"redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
"response_type": "code",
"scope": "openid",
"state": "Bog1pI8BCSmpL0MN"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Bog1pI8BCSmpL0MN&nonce=K9DsCj0vNaK3YSZI&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=q7YsNEtvCyJlyt1aDHUT |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Bog1pI8BCSmpL0MN&nonce=K9DsCj0vNaK3YSZI&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=q7YsNEtvCyJlyt1aDHUT |
2 | response | Response URL with query part |
2 | response | {'state': 'Bog1pI8BCSmpL0MN', 'code': 'xkgAstYUeSpNru7EdAJILPdAElOcKn'} |
2 | response | {'state': 'Bog1pI8BCSmpL0MN', 'code': 'xkgAstYUeSpNru7EdAJILPdAElOcKn'} |
2 | AuthorizationResponse | {
"code": "xkgAstYUeSpNru7EdAJILPdAElOcKn",
"state": "Bog1pI8BCSmpL0MN"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'Bog1pI8BCSmpL0MN'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb', 'code': 'xkgAstYUeSpNru7EdAJILPdAElOcKn', 'state': 'Bog1pI8BCSmpL0MN', 'grant_type': 'authorization_code', 'client_id': 'q7YsNEtvCyJlyt1aDHUT'}, 'state': 'Bog1pI8BCSmpL0MN', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAicTdZc05FdHZDeUpseXQxYURIVVQiLCAic3ViIjogInE3WXNORXR2Q3lKbHl0MWFESFVUIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJtQ1c3bkVGSlVQZnNuTXlEc1hJY09EZnpCb0R3YzVHRCIsICJleHAiOiAxNTYwNzU0MTE4LCAiaWF0IjogMTU2MDc1MzUxOH0.MKJZPl2BI6QdmlNmuCmqraW-UwEA5lhWAeAvH72toWSIonySlMIoA3CUHkgSF-lKHmuee9mNN-JDnTIrlwlRULiDuKEol--jpiCvy-Uq7Bc-J9DlVR7ngKm1FadyCYXGWIefhFmGavBc2kvqB_5H0z71ZJ8FPTK5gHwnjNlRf5tvtO5Utfj-EHcRw-6Autdj8qxvsGRUUicH8bBy1DcFLeDUzeTnnZc_ed2rPUhSxbj958m8iOmzp-i6BvLAHjBs6KLx-5fKo8fyaPXYNipL-n336Sa9HsVV7ukhcWalYx-kBNxsd9pDm0BPeNNqsDfu6ck9EomB2pVJOAdfeTnBfg",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "xkgAstYUeSpNru7EdAJILPdAElOcKn",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
"state": "Bog1pI8BCSmpL0MN"
}
|
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%3A61164%2Fauthz_cb&code=xkgAstYUeSpNru7EdAJILPdAElOcKn&state=Bog1pI8BCSmpL0MN&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAicTdZc05FdHZDeUpseXQxYURIVVQiLCAic3ViIjogInE3WXNORXR2Q3lKbHl0MWFESFVUIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJtQ1c3bkVGSlVQZnNuTXlEc1hJY09EZnpCb0R3YzVHRCIsICJleHAiOiAxNTYwNzU0MTE4LCAiaWF0IjogMTU2MDc1MzUxOH0.MKJZPl2BI6QdmlNmuCmqraW-UwEA5lhWAeAvH72toWSIonySlMIoA3CUHkgSF-lKHmuee9mNN-JDnTIrlwlRULiDuKEol--jpiCvy-Uq7Bc-J9DlVR7ngKm1FadyCYXGWIefhFmGavBc2kvqB_5H0z71ZJ8FPTK5gHwnjNlRf5tvtO5Utfj-EHcRw-6Autdj8qxvsGRUUicH8bBy1DcFLeDUzeTnnZc_ed2rPUhSxbj958m8iOmzp-i6BvLAHjBs6KLx-5fKo8fyaPXYNipL-n336Sa9HsVV7ukhcWalYx-kBNxsd9pDm0BPeNNqsDfu6ck9EomB2pVJOAdfeTnBfg&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': 'vDFV9fxHotFeNRSJ9btV', 'refresh_token': 'RnYgpcw8Uk5x3OmTgz8NDJ57DoDpgajOHXqgytKO', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoibU5VYm9lUU9IRFlndGxGN3VpNU9GZyIsIm5vbmNlIjoiSzlEc0NqMHZOYUszWVNaSSIsImlhdCI6MTU2MDc1MzUxOCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IjRqMFY3NFl3S3JraE9vVW9pUUlpcFEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1NjkzOCwiYXVkIjoicTdZc05FdHZDeUpseXQxYURIVVQifQ.MtX0f_FX-ilb6LPpDlDY--HDzdnDhFXmLAWK57FbHPrNxahHxFUrBtyaQDUe2fIt0_tZhf85VJTdXYpDYdir6J7Up0iiuwsNc-2OLYdGn1WvKkR0xFa8Rq5o9BCMrq84N65sUCK3mgbb8BvmBqSNM9oUF5FB1LZWcvEpqAVTyGLbaBUMMBAaqWpcj_bb8ADHZ8SqmWBhWbiFykOP_6HD0G6XrLirQlzWl6Oli6-mFayDFjUMVMVoUN499XMG8ilmxmWgUyeMmAC9akxlx1Gk36f17qP3XC6BbBwC5hIYorGML0bWRhZIvxuvRRH4E-N-YmKEOr0aZFNd1PGoGgZIAw', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "vDFV9fxHotFeNRSJ9btV",
"expires_in": 3599,
"id_token": {
"at_hash": "4j0V74YwKrkhOoUoiQIipQ",
"aud": [
"q7YsNEtvCyJlyt1aDHUT"
],
"exp": 1560756938,
"iat": 1560753518,
"iss": "https://isamfed.com:30443/test",
"nonce": "K9DsCj0vNaK3YSZI",
"rt_hash": "mNUboeQOHDYgtlF7ui5OFg",
"sub": "testuser"
},
"refresh_token": "RnYgpcw8Uk5x3OmTgz8NDJ57DoDpgajOHXqgytKO",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- Done -->--> |
3 | end | |
3 | assertion | VerifySignedIdToken |
3 | condition | verify-idtoken-is-signed: status=OK [Verifies that an ID Token is signed] |
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 |