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": "E8ME5MZ0Xk9AyTOT",
"redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
"response_type": "code",
"scope": "openid",
"state": "l0d8ccf15enb6GwM"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=l0d8ccf15enb6GwM&nonce=E8ME5MZ0Xk9AyTOT&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&claims_locales=test&client_id=clientID |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=l0d8ccf15enb6GwM&nonce=E8ME5MZ0Xk9AyTOT&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&claims_locales=test&client_id=clientID |
2 | response | Response URL with query part |
2 | response | {'state': 'l0d8ccf15enb6GwM', 'code': 'fZGYkea83nssVNY4m7njRLnaeM9EeW'} |
2 | response | {'state': 'l0d8ccf15enb6GwM', 'code': 'fZGYkea83nssVNY4m7njRLnaeM9EeW'} |
2 | AuthorizationResponse | {
"code": "fZGYkea83nssVNY4m7njRLnaeM9EeW",
"state": "l0d8ccf15enb6GwM"
}
|
2 | phase | <--<-- 5 --- AccessToken -->--> |
2 | request | op_args: {'state': 'l0d8ccf15enb6GwM'}, 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': 'fZGYkea83nssVNY4m7njRLnaeM9EeW', 'state': 'l0d8ccf15enb6GwM', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'l0d8ccf15enb6GwM', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "fZGYkea83nssVNY4m7njRLnaeM9EeW",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
"state": "l0d8ccf15enb6GwM"
}
|
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=fZGYkea83nssVNY4m7njRLnaeM9EeW&state=l0d8ccf15enb6GwM |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
3 | response | {'access_token': 'RNScsUyV4mLvCWdS7Ofr', 'refresh_token': 'VvsYUzL1m07LirscctlglI5ZCJjFErLqtgEjV6Lz', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.5ZeUCUWOPamchQ7swrxdJn__3kT3JXUV8hqLFFN_MD38ThAU7xa-Ig.apbLfbR3dqSKEmSUnXpQaA.oQ_hegxkv5IXPW4Y9h4tOP8dIJAcE1jxnbNARiXIxcUj3K8TjP2bOy0YCmFfGNsjle270XvGMkdGDDSWX3OHcg5mabBTHGUrQnLOSpHvrnvedWX5PDk8SEJoWfMR9kvt7_RNZ_OnUeUEpbWIgX71Ys0wDymoDnaUnfeVgHFZPxh6bK-eicgF29L-vYpblriyV_Iugk0ATqPAkNeDsFPbV7V2FkvdvvUii6_N5w8rnIKVkJPSCh2yn1i6LE7aZr6Y82BdrHqG_fPJGrZ44kpAa_yWie07juCM8gSqDTT16O1r0qTcAHfXfc6ASOcp6dQnXcWeUUYij5IG2yX4Xl_y-SHVGz0NAn0pt8iOpGKYjK6wAThvliI6ISMvV-zrteC_jNNXkHikH4oexE8-8XcHxz_BMbInjBow7eNApC3maNkDxCwqQNXp05Ht4xDineXFg6Q6RyDSbDdRKq97sGiiX_DgtD9fGFER6bmVGhsy5ObdzxScf1r3bnl1it3Xe20s2KAftM0XbhxQmQt6PpM00UGQL95BKOqMTxsaLgIjEwbDRKHqozCk14xjgJ8LYApEQv3hGrDo9aQzNHfXPedSU5WWqFHIEO43rX7GYX9EOVjpVUX8y9A3jnP7vphpnNdycnSPEQco2y2fxe4rmT8byWQM0xhNHAPofgaBAb91g1KO_ffjZctw1mo5TnhIcBrR7iDM-ggIGn0Z6PFffLqiv9biALy5sG9BSIiGpGDDsGSsAUJWvhD-AbsRx3D-_7EkgrGpYf_JOlaZHGbpCLP6fT0RKwBsHLfO2A6IQHhitl3H2wxpSLoXxFicB_w1_a90ypUTTEfIq1Mt3FeLE8BUojVPkLIuf8pTzlweiRy--pLBIqv32uBHGgEcFb6FbvnBixGfpWvMQyzDq0Iwp5qq2FePszeXW9wGz2Z1c6E8YnPWnTC14skKHlS3EMb18_g9.LUD6WdZrCOx_ox8EYxhO1A', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "RNScsUyV4mLvCWdS7Ofr",
"expires_in": 3599,
"id_token": {
"at_hash": "O2mvdFPXj4NUD2KsuJSW4Q",
"aud": [
"clientID"
],
"exp": 1560834562,
"iat": 1560831142,
"iss": "https://isamfed.com:30443/test",
"nonce": "E8ME5MZ0Xk9AyTOT",
"rt_hash": "bPiOAwiOfyrSB27ML5CLmw",
"sub": "testuser"
},
"refresh_token": "VvsYUzL1m07LirscctlglI5ZCJjFErLqtgEjV6Lz",
"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': 'l0d8ccf15enb6GwM', '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 RNScsUyV4mLvCWdS7Ofr'}} |
4 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
4 | OpenIDSchema | {
"sub": "testuser"
}
|
4 | OpenIDSchema | {
"sub": "testuser"
}
|
4 | phase | <--<-- 7 --- DisplayUserInfo -->--> |
4 | phase | <--<-- 8 --- Done -->--> |
4 | end | |
4 | assertion | CheckHTTPResponse |
4 | 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] |
4 | condition | Done: status=OK |