0 | phase | <--<-- 0 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 1 --- Discovery -->--> |
0 | provider_config | kwargs:{'issuer': 'https://isamfed.com:30443/test'}
|
0 | http response | url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
|
0 | 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"
}
|
0 | phase | <--<-- 2 --- Registration -->--> |
0 | not expected to do | Dynamic registration |
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "clientID",
"nonce": "ziINiI7k9sjzGJzZ",
"redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
"response_type": "code",
"scope": "openid",
"state": "G5X0iQG5XUNhmQ15"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=G5X0iQG5XUNhmQ15&nonce=ziINiI7k9sjzGJzZ&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&client_id=clientID |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=G5X0iQG5XUNhmQ15&nonce=ziINiI7k9sjzGJzZ&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&client_id=clientID |
1 | response | Response URL with query part |
1 | response | {'state': 'G5X0iQG5XUNhmQ15', 'code': 'emWClgeObA9iEIF3MLOKLvycKITGdG'} |
1 | response | {'state': 'G5X0iQG5XUNhmQ15', 'code': 'emWClgeObA9iEIF3MLOKLvycKITGdG'} |
1 | AuthorizationResponse | {
"code": "emWClgeObA9iEIF3MLOKLvycKITGdG",
"state": "G5X0iQG5XUNhmQ15"
}
|
1 | phase | <--<-- 4 --- AccessToken -->--> |
1 | request | op_args: {'state': 'G5X0iQG5XUNhmQ15'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb'} |
1 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb', 'code': 'emWClgeObA9iEIF3MLOKLvycKITGdG', 'state': 'G5X0iQG5XUNhmQ15', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'G5X0iQG5XUNhmQ15', 'authn_method': 'client_secret_basic'}
|
1 | AccessTokenRequest | {
"code": "emWClgeObA9iEIF3MLOKLvycKITGdG",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
"state": "G5X0iQG5XUNhmQ15"
}
|
1 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
1 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
1 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&code=emWClgeObA9iEIF3MLOKLvycKITGdG&state=G5X0iQG5XUNhmQ15 |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'g7giKAxrKUuyI9wAzUKa', 'refresh_token': 'dOXcftqpb028iAKauOW4Hq18hIx1WOAQ51W0gCpX', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.7UnU_XDNMIcU03yBQ1s24J2AuvlDiWjzE5YoE1Zy_xe1KTjfISV3yw.Abnmi8OkIBr-3uO0ZMQM8w.Y3Kc7b2kFYcBjxpj1rU6-cDMO4nT87tNl8drp6scGJ_kwwYwkoKWPag0b8EcYwLLCWSEH314JDYSF7FH28-HOXdw33Uj6GwBIDZMNpv268oGxAvyrI-6Gi3k_RkJiMX0vM6Xirgnnsmf2xwi0uysEmJelZwLkhgDn7EWmBTTWUcgYMuT_ki-YX1B3ipLNApxK4vKT3Krov_AyjZR_gJEL5-J1pCfbqKgFfHlNDJHGcp4MqhkkegN7eyyZ7aEu4wP8CyY05CbBTOo-S7tpCCSZnvLgHEFJufH8P8nn9KzpnwTPDSicSL1T5VKQi6hYOvNytqWNVMLFo8AUbsPbq_s--RzpGUmha-kH7nLLEpCxrNW9q1GUngRhZ-4EycLl7R1B3JqFrMsB-Ja69IZaZXL_bCQMfjip0e6SZLI5LOQ_bWPu8Wi6ruyDn7-4hNHBbKSs0ip59xh862LgfFPyla8_Oy-gXCsQSFeZjr5c2f7UyZEjXAqV1fr_pFXZZjsR5tfJANnhhgPfe7XIUn1Ds6bQtG8sNsRVFQCHZNnCI72LQLumgNmEYvR-tOS_I_qUl-DRtsWwHE37MlcTONTX1gKNe0v5I3uwX1YLeiqO_FGmnGAMV50XxNc_zkTqRIUaImc7wZpirpF0ES0S1hbIaVgYX7SPttLcgN2FnhL67F4YADu_uwerQcpwxpvqu7KZoiTUV7HMhTVQZIyDneo60OiXMVHVg0lIlmwv_MIy0iMt9XoA2JtMQ5lc1tvDnfqj5dcsllYNOB2RS5utMXN-2gAEIIwjsmLvDeuOaa_CuzE4dxoEo0DApoMOAiJkls4P5qf0t_shAWPZI4Dxwf9IZoIFfHzq9BvEt5nesQmB_TRl_6s50-4ntTZSk50QVGdUfpBd5rOqM5UxWndU-kQl-LYC5xt6ICdu5UtleFHqIFUXUUPsmW39fkixuwU59kJajnJ.25NwA6XEtdUX89sBpY_QjQ', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "g7giKAxrKUuyI9wAzUKa",
"expires_in": 3599,
"id_token": {
"at_hash": "hz_B0wFmfMVxgrpUKJYYtg",
"aud": [
"clientID"
],
"exp": 1560834488,
"iat": 1560831068,
"iss": "https://isamfed.com:30443/test",
"nonce": "ziINiI7k9sjzGJzZ",
"rt_hash": "JS9cWYxtqYT2afScLBe-Jw",
"sub": "testuser"
},
"refresh_token": "dOXcftqpb028iAKauOW4Hq18hIx1WOAQ51W0gCpX",
"scope": "openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | jwe header | {'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'} |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': 'G5X0iQG5XUNhmQ15', 'method': 'POST', 'authn_method': 'token_in_message_body'}
|
2 | request | {'body': 'access_token=g7giKAxrKUuyI9wAzUKa'} |
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
2 | request_http_args | {'headers': {'Content-Type': 'application/x-www-form-urlencoded'}} |
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 | <--<-- 6 --- Done -->--> |
3 | end | |
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 |