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": [
"A128KW"
],
"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 | not expected to do | Dynamic registration |
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "clientID",
"nonce": "UCNH7u2im2KtnBX9",
"redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
"response_type": "code",
"scope": "openid profile",
"state": "T5jcncMCvhBw6UGr"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=T5jcncMCvhBw6UGr&nonce=UCNH7u2im2KtnBX9&response_type=code&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&client_id=clientID |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=T5jcncMCvhBw6UGr&nonce=UCNH7u2im2KtnBX9&response_type=code&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&client_id=clientID |
2 | response | Response URL with query part |
2 | response | {'state': 'T5jcncMCvhBw6UGr', 'code': 'rbAmX1LAasQGZqkUmI63G2o0xtTTDC'} |
2 | response | {'state': 'T5jcncMCvhBw6UGr', 'code': 'rbAmX1LAasQGZqkUmI63G2o0xtTTDC'} |
2 | AuthorizationResponse | {
"code": "rbAmX1LAasQGZqkUmI63G2o0xtTTDC",
"state": "T5jcncMCvhBw6UGr"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'T5jcncMCvhBw6UGr'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb', 'code': 'rbAmX1LAasQGZqkUmI63G2o0xtTTDC', 'state': 'T5jcncMCvhBw6UGr', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'T5jcncMCvhBw6UGr', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "rbAmX1LAasQGZqkUmI63G2o0xtTTDC",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
"state": "T5jcncMCvhBw6UGr"
}
|
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
2 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
2 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&code=rbAmX1LAasQGZqkUmI63G2o0xtTTDC&state=T5jcncMCvhBw6UGr |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': '2TDW3vbwdbhcXEZ9KZbo', 'refresh_token': '0zWiJyHlVv8DdlStVu6nM3cbBwweHXl3lLHL4sJT', 'scope': 'openid profile', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.3f0RnERUwLx4mCUtPmnwyXrfHJB_Lngbag3gZsuxWMr-Gzq7o7GgdA.S7x01pJJNbBZ1TlQGGnazg.gte-KMtshL91LFEzphu9ijRlsY83XpNm385fcJY_9UcCV2tk02QPOOu38F7xp2AfQU2rHCxRZ_PQz0Ao8HGdHmxpWc0QU7X0Sf7INSsS-7Vr8D1bgzQkQoBGybnHte-6uaJRnRjeD4EBYG-BHCkSWmcE508cRzGCjq9brz0ka0G2M9GToMBg29sYkrL2pN3KY4HQTvLN9lhXQ2TsMHKsz3KPL7jk_deUJhfMtVHyYpdzxcoLiH9UTKkjtmCkJjHfZJWwix2lVCRVFg1qsb396QlvZmIUPS0U0250-q9_C0XyJH064uTWBAIZquj8zgCVoadtTy4SJlESubiPa1Ul-l47DtVBkQ5gCQgAEvXjQ2o_FZtQfn8dORKlAfprE3h1W5EPjRj7t1f3KQqYpOkKZvHvNbUoeFeni61NrlyEKelGLMm8OGcSGRwF1H-Zib51gehq-5a7fLDoXCodyZgNpBPUJXQtTQUUm2sT8Cb5_ZGU0TWmuVHw2Hew9498YaoxJaG5kUNOjGio-Yt1DkOa10uUI-qPEJM4wMZFf0taQQ-YheDCMqtCOzGGK1EExaP0WtqJ9qmFrGoN2z0mLbbSinfKPlc8XU5GDaS9i4gfK1bQwU647u9D0hEIX9IXv4fLOMCtM4iXrLztzKBV8I3gk-Bw3TrvwrWeTo2J3YKeK6eDmuvDSmQ9ImojOy-IhnHFudoSA8JJxk5EVMoaKCdZkuz1aRefu1vxMkP0UcWbQEl8vqoHp0-_B9NbgBaT9gKX6H_s4azGgfQBadAPE9frGYzrPwbss_C7dMqaZyIYvB05DgZ48BznJtH0BdR9jlXD86iPoWWmJkVN0t1YeSxJmEGl3yksvIZ0k0r0CZBT0erX1k4M3vjZrajjnKRTFWLRtWXhXeyk3fQk3TKWhVKpi5JL3oBJXOl1CsVxf7U00vIRfGCHmdqXvfH-WWI91MDYxMGqITHjIOl6IcqZreoKtECpu2sCflAgArsMbIxJ1HM.-D9wEpS0P0TiCre-Jym0Mw', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "2TDW3vbwdbhcXEZ9KZbo",
"expires_in": 3599,
"id_token": {
"at_hash": "X-C48feIbOmCu70PmjWDiQ",
"aud": [
"clientID"
],
"exp": 1560834552,
"iat": 1560831132,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "UCNH7u2im2KtnBX9",
"rt_hash": "_Z2m-XQlP107-LWr5X-GdQ",
"sub": "testuser"
},
"refresh_token": "0zWiJyHlVv8DdlStVu6nM3cbBwweHXl3lLHL4sJT",
"scope": "openid profile",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | jwe header | {'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'T5jcncMCvhBw6UGr', '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 2TDW3vbwdbhcXEZ9KZbo'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"name": "isamfed testuser",
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"name": "isamfed testuser",
"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'] [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 |