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_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"
}
|
1 | phase | <--<-- 2 --- Registration -->--> |
1 | 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'}
|
1 | 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"
}
|
1 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
1 | RegistrationResponse | {
"application_type": "web",
"client_id": "lnzlOLk9FdY3vchpYRxz",
"client_id_issued_at": 1560784215,
"client_secret": "4tnB6SzR5etDZ63sE0wV",
"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": "5JyhtFIUNcTvshofM7j1",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=lnzlOLk9FdY3vchpYRxz",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "lnzlOLk9FdY3vchpYRxz",
"nonce": "UbHy4s6O9ZimmZLS",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"response_type": "code token",
"scope": "openid",
"state": "HP9i88RM8EmFDIxG"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=HP9i88RM8EmFDIxG&nonce=UbHy4s6O9ZimmZLS&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=lnzlOLk9FdY3vchpYRxz |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=HP9i88RM8EmFDIxG&nonce=UbHy4s6O9ZimmZLS&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=lnzlOLk9FdY3vchpYRxz |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=aFNE5kg79dHJMlfnNoQZ&state=HP9i88RM8EmFDIxG&expires_in=3599&token_type=bearer&code=RyMAuBQgbJLRFBEIA0cYyQEytQNbg0&scope=openid |
2 | response | {'access_token': 'aFNE5kg79dHJMlfnNoQZ', 'state': 'HP9i88RM8EmFDIxG', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'RyMAuBQgbJLRFBEIA0cYyQEytQNbg0', 'scope': 'openid'} |
2 | AuthorizationResponse | {
"access_token": "aFNE5kg79dHJMlfnNoQZ",
"code": "RyMAuBQgbJLRFBEIA0cYyQEytQNbg0",
"expires_in": 3599,
"scope": "openid",
"state": "HP9i88RM8EmFDIxG",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'HP9i88RM8EmFDIxG'}, 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': 'RyMAuBQgbJLRFBEIA0cYyQEytQNbg0', 'state': 'HP9i88RM8EmFDIxG', 'grant_type': 'authorization_code', 'client_id': 'lnzlOLk9FdY3vchpYRxz'}, 'state': 'HP9i88RM8EmFDIxG', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAibG56bE9MazlGZFkzdmNocFlSeHoiLCAic3ViIjogImxuemxPTGs5RmRZM3ZjaHBZUnh6IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ5aVpTZzJ5TVVzTFQxU0RVMGdpcmpVWjVUTFJJUFY5byIsICJleHAiOiAxNTYwNzg0ODE2LCAiaWF0IjogMTU2MDc4NDIxNn0.qzdf2xuHVSFlKO8HsF0iS4jbCC28EXTJ5CQJpwVoCK_e6nFs7X9AHZiSbsVdStL1Ox_QqEdMlRVxzMfwJKXqDv5k6-BS6v_HwpyClswYWTJ-NXs_Nncp0NRnr8CsDfniAlAF7yywrDQ1f1WI3tHgmV6rlWxMxfRHLsvfvqe6_OtP-8jkRwuOBUw145gwAzaNhLukaB5osUaliCZI34WYAddGyYLunE0HLatFlt42Xn-ynI0Ea-b02-fnKbc7UeJsyx_Y3eYAGoCW1TlwmxFwFldy0Pe9VLdAzwaHhll1PYxT6h2BGZWq0i1au_lutKFlz4loXiqx6oMJsY8P5mgW3g",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "RyMAuBQgbJLRFBEIA0cYyQEytQNbg0",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"state": "HP9i88RM8EmFDIxG"
}
|
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=RyMAuBQgbJLRFBEIA0cYyQEytQNbg0&state=HP9i88RM8EmFDIxG&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAibG56bE9MazlGZFkzdmNocFlSeHoiLCAic3ViIjogImxuemxPTGs5RmRZM3ZjaHBZUnh6IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ5aVpTZzJ5TVVzTFQxU0RVMGdpcmpVWjVUTFJJUFY5byIsICJleHAiOiAxNTYwNzg0ODE2LCAiaWF0IjogMTU2MDc4NDIxNn0.qzdf2xuHVSFlKO8HsF0iS4jbCC28EXTJ5CQJpwVoCK_e6nFs7X9AHZiSbsVdStL1Ox_QqEdMlRVxzMfwJKXqDv5k6-BS6v_HwpyClswYWTJ-NXs_Nncp0NRnr8CsDfniAlAF7yywrDQ1f1WI3tHgmV6rlWxMxfRHLsvfvqe6_OtP-8jkRwuOBUw145gwAzaNhLukaB5osUaliCZI34WYAddGyYLunE0HLatFlt42Xn-ynI0Ea-b02-fnKbc7UeJsyx_Y3eYAGoCW1TlwmxFwFldy0Pe9VLdAzwaHhll1PYxT6h2BGZWq0i1au_lutKFlz4loXiqx6oMJsY8P5mgW3g&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': 'Me61YxpYKWHUPrAY490Y', 'refresh_token': 'jCA5zU2vli43GpyUWCdepCoSGUHTqLS3dmKIcJz9', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.jzQfHUl9mvvLcksVhQS-wOxcRXBJqtG1ajyvYPqZ23adGbIB9XWeAi766ruF5ab5T4MFz_0s-0TS1S7MDTYnigfbW1vPjHjXrCEMBz847a5m1kdpgy5CDf7SOAmL_OZ3oWOXD_qn-Mu_xIWpRdgJ80_6hGOLWclG-iQBgOfGIkvUhVIxqPkzsBww0yFL6a71zz_VkNFgIUlltyioQj-YrgfjiJ1KQ4k4LEme8PwQ2Hjx6_N20rHLU8wuhtS0C3jzAYFWtSXYn_zHeZDYQmp1al1eQAeOE-OGnkOd4ia6CNTIwqs3OEWyvPYFrUAj_YDIqIv5_EE9qLcXb3CIOxtvCw.FzgJ_XKVESZ6IUDif2nItw.MmvwptEL5urE77lvvI6hQweSw_C_jGwnu8GU5Jwa8KdC6ukp9HSxljRZH1nh4eESrp9Zx3rSwPHrGk_aVU83--6oHHnW3VL9GQEhdtXFQGYAl8J0bxiBW8EMI9VFyS74aGd0ykIwaBss5ggRaF-FGzHkMRwToMdORFq29RGV13RLFX6jhVcENh8n_lYDDlVjcJ50gxTFaEAGZKcYSMdqidY9kQ1Ca6vSU3k7T4tlw40pwQNc3KaprQ806KjlYH1S6cwfHamBx_blinTajezEds9aXLw8J9dIP9EwWsGFsAlDxsnG24qzhhX9U6EKDaj-TZPU43jULtxqgS5ixVyLEUZ1GSXd8_sLVx980qxfkJvH2wi73YI1Kxqufk_mev4L5iCYy-yZPfL-F-MWwA7kjOs2mXt6um1O6vFTeO92HMsrPaN92nZPAusPxQL4ZElRr6X0ZRUyi9oPZdTkyTG72x-EYbZZdENGIhtvhlyTEKmbwAoPM6r8oYFQhWKcDJb2JINnlgY7cE5cw9LaYQLkJhmfY8XK0ZD92yH7P6_-9y0ODREwiaPabOfm9k2mLFMZQMEJO_k35m6s2QXZWowKcmHer5yVtB0Z8bclrwK10s40QSRpH67tfZupdzu8SA8-qnJ9PsuEWZJpaA3upPaN94p2Wn0R44BO_xVLLnY9bCuxxuVhXpOZbzU4DbKPeF1_qQg0WHzHaLvhydcyvsheZ3_Q3BG6VN8qxW8FyppKRuo8RpSgq9h4fgSdJBv1KkOQTr-p9Ztl8LnP3DYLhUb-CHklx5cr7MXoBCOgWCMdiqWnVrvJXe5fpkDIVd3dbjOy2QH9WFIK9F5j_eZ8JpIXcOs7H8FjLajF3AOMIJN4I0I_Bc1-KrpaWZXpXSqakKNxAlExPpVr9XY7QYA9AMUlI3sLLmjWKlDAoct-Qtavammt4gi1LIhr-JMWpeWn96p0p0WhPe6fQNOOFtUrk0uyFg.T6UjG8v0nqEyTk92H6UXag', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "Me61YxpYKWHUPrAY490Y",
"expires_in": 3599,
"id_token": {
"at_hash": "qr_OS35TQptobaAcervv2g",
"aud": [
"lnzlOLk9FdY3vchpYRxz"
],
"exp": 1560787637,
"iat": 1560784217,
"iss": "https://isamfed.com:30443/test",
"nonce": "UbHy4s6O9ZimmZLS",
"rt_hash": "5C2mGwM1L2VKt24F4gSyZQ",
"sub": "testuser"
},
"refresh_token": "jCA5zU2vli43GpyUWCdepCoSGUHTqLS3dmKIcJz9",
"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 | CheckIdTokenNonce |
3 | condition | check-idtoken-nonce: status=OK [Verify that the nonce in the IDToken is the same that's included in the Authorization Request.] |
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 |