0 | phase | <--<-- 0 --- Note -->--> |
1 | phase | <--<-- 1 --- Webfinger -->--> |
1 | not expected to do | WebFinger |
1 | phase | <--<-- 2 --- Discovery -->--> |
1 | 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 | <--<-- 3 --- Registration -->--> |
1 | not expected to do | Dynamic registration |
1 | phase | <--<-- 4 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"claims_locales": "test",
"client_id": "clientID",
"nonce": "hsISsDSl0dnSoUa4",
"redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
"response_type": "code id_token token",
"scope": "openid",
"state": "L2PhEs2bYTzagIeJ"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=L2PhEs2bYTzagIeJ&nonce=hsISsDSl0dnSoUa4&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&claims_locales=test&client_id=clientID |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=L2PhEs2bYTzagIeJ&nonce=hsISsDSl0dnSoUa4&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&claims_locales=test&client_id=clientID |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=kUInqDNDGmD6WJgG3Ugz&state=L2PhEs2bYTzagIeJ&expires_in=3599&token_type=bearer&code=L0JFnfPOQYq6aoxDTy23IULYReQNK6&scope=openid&id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.BMc-oz6XJ9QtCg8jxJzbyFi2rVouvjoJKY7XmpW0MGIMpujnZ07bvg.7Us0kX-vkYSDE3Vp8KvWxw.Gd2Cb42MPRf3QcPcCfJYEsYGX2G5vYAdZXph_1lx5L2km2O-otJ2ww3ikh0JDRluTIngqdHC9k9I7mAw49DSRu4530gcxxT18uwBWTwlUhfFpfUbNwlKW0KZki_csxMMHLVJ9HtoBGP66M48-85QhXY3lrlpRk1MUXn6aTCja1FVyk4IsN45N4Y3aIG_xmrN2zg3xPhVczrcN9z2aDh8cq7FHEbBCl3WtSp0-Uf4BMXRnrX-u2WC0y5Z3WOvSAv10B01XRj6tHTrFOSgfI9FTjqvmVwoO0Jnjswm05fS76rUJbl2z_Edpzanht-gIbuxK5N5XfED5DiGe7A5ZokF9h2EQ1HeJY-5lF-dm1WVCFBJFi27pWzzTNZlyaY4JpDtsHMR_Ra8k9Y0YsTQEzzy4ZSfFUNOeCWnR0nznK6RkoH_tWtGAc5mWxcbhA1cRl89ZULbYtREgkVSGnVfOnym7L7fsx82Wu29MAEy6SuROncRTwv3SHsTmo9P2Jjx37PFwIzmBP01_s186Yw9Raz4WN3QBfV931oOUpRgi5Ht0POsIHKMXBmIdEPm4V4Q9SUpOJ3k0XyvkBphoMudWiCgkxW5SwgBD66EZdrgO4_tAHzrRQSV-PBPy1CSDju5zJpMnZyFNFg-uY5AT9haQOTosugUP-g6YcHJK_qgYmitCU_MqHU8EmGjuH8vVtXkwNqYeWWJ8goBCi266lsBsjjwFBZkhv0M2Qff60PzCCi-FxdB4gGRvtmlY5bjDQf9P8T-wlBG3_WU3dr-Dt2YInMWpfcHa_Wqqu8f1O_pkBSf6iGPZBBS6GYRx2DPfFKOcaotdXdm4hjDxJONBx4zuCPT9WZRDroScwlQU7o9CG5AC3WtKY_zoFPjXN6QMsjgXWzhK-tBNQ9w8yIAF0jqD3UrSeKfK1eWQZsyUXFEqSx-Xm5g4htj5mNyoss8p378RvAa.gR8wJn3yLgVfGonQFzzilg |
2 | response | {'access_token': 'kUInqDNDGmD6WJgG3Ugz', 'state': 'L2PhEs2bYTzagIeJ', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'L0JFnfPOQYq6aoxDTy23IULYReQNK6', 'scope': 'openid', 'id_token': 'eyJhbGciOiJB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yUXFEqSx-Xm5g4htj5mNyoss8p378RvAa.gR8wJn3yLgVfGonQFzzilg'} |
2 | AuthorizationResponse | {
"access_token": "kUInqDNDGmD6WJgG3Ugz",
"code": "L0JFnfPOQYq6aoxDTy23IULYReQNK6",
"expires_in": 3599,
"id_token": {
"at_hash": "yPs0ioJZijwi1mOHx5RJLw",
"aud": [
"clientID"
],
"c_hash": "8UZawWLEUxzQpA8MSczr5Q",
"exp": 1560834770,
"iat": 1560831350,
"iss": "https://isamfed.com:30443/test",
"nonce": "hsISsDSl0dnSoUa4",
"sub": "testuser"
},
"scope": "openid",
"state": "L2PhEs2bYTzagIeJ",
"token_type": "bearer"
}
|
2 | phase | <--<-- 5 --- AccessToken -->--> |
2 | request | op_args: {'state': 'L2PhEs2bYTzagIeJ'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb', 'code': 'L0JFnfPOQYq6aoxDTy23IULYReQNK6', 'state': 'L2PhEs2bYTzagIeJ', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'L2PhEs2bYTzagIeJ', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "L0JFnfPOQYq6aoxDTy23IULYReQNK6",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
"state": "L2PhEs2bYTzagIeJ"
}
|
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%3A61773%2Fauthz_cb&code=L0JFnfPOQYq6aoxDTy23IULYReQNK6&state=L2PhEs2bYTzagIeJ |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
3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DcaSww1irfMILT39H9FhuKcCz8auNPKIU2qNlRA8iGNbN5U_j8Bc2gJg-oDrcMKYW35iRmQoKqfrktcYW_UE0nzHJ9BTfKj1dlWHc32CJMlLk8O0QKdvSAivgMxl0fGdjR.Bf-WlAdbpORJNWw5D_lAMw', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "7NBK2bx2wksBEiZBqEYF",
"expires_in": 3599,
"id_token": {
"at_hash": "KaNqQlwwpYH0d2R-BLJBFg",
"aud": [
"clientID"
],
"exp": 1560834771,
"iat": 1560831351,
"iss": "https://isamfed.com:30443/test",
"nonce": "hsISsDSl0dnSoUa4",
"rt_hash": "97QbI6pjBrFQm9dOB4K33Q",
"sub": "testuser"
},
"refresh_token": "6BeYO20RHxPcP4esMQ6cjIMEVe7yZgb3cyoGc0AK",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | jwe header | {'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'} |
3 | phase | <--<-- 6 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'L2PhEs2bYTzagIeJ', '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 7NBK2bx2wksBEiZBqEYF'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"sub": "testuser"
}
|
3 | phase | <--<-- 7 --- DisplayUserInfo -->--> |
3 | phase | <--<-- 8 --- Done -->--> |
3 | end | |
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 | condition | Done: status=OK |