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'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61583/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61583/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61583/static/jwks_61583.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
1 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61583/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61583/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": "DeiMKOYxr4HsDZivntvP",
"client_id_issued_at": 1560786312,
"client_secret": "1aPw9lbAkB2t8oBCAewk",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61583/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61583/authz_cb"
],
"registration_access_token": "dYhICi9EtUK5IUyHqNg4",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=DeiMKOYxr4HsDZivntvP",
"response_types": [
"code"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"acr_values": "1 2",
"client_id": "DeiMKOYxr4HsDZivntvP",
"nonce": "eDQyAe465N6BojCj",
"redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
"response_type": "code",
"scope": "openid",
"state": "eP4kkKJJXLIDaafa"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=eP4kkKJJXLIDaafa&nonce=eDQyAe465N6BojCj&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&acr_values=1+2&client_id=DeiMKOYxr4HsDZivntvP |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=eP4kkKJJXLIDaafa&nonce=eDQyAe465N6BojCj&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&acr_values=1+2&client_id=DeiMKOYxr4HsDZivntvP |
2 | response | Response URL with query part |
2 | response | {'state': 'eP4kkKJJXLIDaafa', 'code': 'uxIiWtDHOcBcYrzxBJERhXKO7A18lZ'} |
2 | response | {'state': 'eP4kkKJJXLIDaafa', 'code': 'uxIiWtDHOcBcYrzxBJERhXKO7A18lZ'} |
2 | AuthorizationResponse | {
"code": "uxIiWtDHOcBcYrzxBJERhXKO7A18lZ",
"state": "eP4kkKJJXLIDaafa"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'eP4kkKJJXLIDaafa'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb', 'code': 'uxIiWtDHOcBcYrzxBJERhXKO7A18lZ', 'state': 'eP4kkKJJXLIDaafa', 'grant_type': 'authorization_code', 'client_id': 'DeiMKOYxr4HsDZivntvP'}, 'state': 'eP4kkKJJXLIDaafa', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRGVpTUtPWXhyNEhzRFppdm50dlAiLCAic3ViIjogIkRlaU1LT1l4cjRIc0RaaXZudHZQIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ0bUVjSkxPY21GQldlQjI1cHpBZXlwZjk1eUk4aEhSOSIsICJleHAiOiAxNTYwNzg2OTEzLCAiaWF0IjogMTU2MDc4NjMxM30.h1uTHgKMFZU6GDU_efBPMUgZGDIsbnMGml6-NAihG99O6PLyJGY4fK3M0qINu78lPC78xB6Dt94g5sp_9pMeI2ZO-y0X4hRX7ulLypKKJn2nBIj-k7I-bleZLsYP2EuDeQm3BAXSVld36YRNE5zybMvg8_IZUgF4MvUY2MoSXkbdzf0d6Z43dswsxtJGkkz0AJSa4WoheytJHm23aSEC8kS7-P8R-MXJQocIms3V-ss5WFJdcnWUCjqFvXwsAUH5qh2Cj8vTlxdrj_yk2V3UiNzAZF0sEVuJccwMpPDCPOP1CfuGlQah_D2-LmrQeSMAcLDnYiD1Srus6th1XEk0WQ",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "uxIiWtDHOcBcYrzxBJERhXKO7A18lZ",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
"state": "eP4kkKJJXLIDaafa"
}
|
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%3A61583%2Fauthz_cb&code=uxIiWtDHOcBcYrzxBJERhXKO7A18lZ&state=eP4kkKJJXLIDaafa&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRGVpTUtPWXhyNEhzRFppdm50dlAiLCAic3ViIjogIkRlaU1LT1l4cjRIc0RaaXZudHZQIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ0bUVjSkxPY21GQldlQjI1cHpBZXlwZjk1eUk4aEhSOSIsICJleHAiOiAxNTYwNzg2OTEzLCAiaWF0IjogMTU2MDc4NjMxM30.h1uTHgKMFZU6GDU_efBPMUgZGDIsbnMGml6-NAihG99O6PLyJGY4fK3M0qINu78lPC78xB6Dt94g5sp_9pMeI2ZO-y0X4hRX7ulLypKKJn2nBIj-k7I-bleZLsYP2EuDeQm3BAXSVld36YRNE5zybMvg8_IZUgF4MvUY2MoSXkbdzf0d6Z43dswsxtJGkkz0AJSa4WoheytJHm23aSEC8kS7-P8R-MXJQocIms3V-ss5WFJdcnWUCjqFvXwsAUH5qh2Cj8vTlxdrj_yk2V3UiNzAZF0sEVuJccwMpPDCPOP1CfuGlQah_D2-LmrQeSMAcLDnYiD1Srus6th1XEk0WQ&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'Hessk2iOr2VAg5IsPCEF', 'refresh_token': 'UPzlshJaCnTCtHsD6mtY5XoNd5ibnT8VoJRVOh6e', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ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rvaqBVVkoyH20jh2PptBCKhkODGnZHj8-Wu3djt2mc6OxbLJp1eYxoXf-md93Bed1nX2CDQdCe4Weni-6tpGMEouzioLMdbV0fhf0Y97RxxZuP0c__1wOqRIjq9whuoM0mHlev8W4geUfUdXLG1_WWDMq2Otxh_Sr5hmuOMahw9IBK3AFNsU5auYYuyHws0eRUnRjdpwfdzUDdJdmaeA9HN2AN6g3XG7nWwBf2kaYWQdU_m9HsoZn2ldVf1rS9OaCEtYQn_k3D6PoyVs1WMMB1XcuWMqmERRJqAp_yu6lrTsFmBxYPjG7TL5XcQZ06BDRPAy1tp5E9BiA.8Dxy-Tcx17Ubnwm3A13Ppg', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "Hessk2iOr2VAg5IsPCEF",
"expires_in": 3599,
"id_token": {
"at_hash": "7AwW6dIyi27-bPKlZ7ivTQ",
"aud": [
"DeiMKOYxr4HsDZivntvP"
],
"exp": 1560789733,
"iat": 1560786313,
"iss": "https://isamfed.com:30443/test",
"nonce": "eDQyAe465N6BojCj",
"rt_hash": "wUlKE8sNQ1ItHJBfbDAQcw",
"sub": "testuser"
},
"refresh_token": "UPzlshJaCnTCtHsD6mtY5XoNd5ibnT8VoJRVOh6e",
"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 | UsedAcrValue |
3 | condition | used-acr-value: status=WARNING, message=No acr value present in the ID Token [The acr value in the ID Token] |
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 |