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": "xuMoedxTcuy2FuS4",
"redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
"response_type": "code",
"scope": "openid",
"state": "Xdjs6JqYi3w8MM6L"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Xdjs6JqYi3w8MM6L&nonce=xuMoedxTcuy2FuS4&response_type=code&scope=openid&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=Xdjs6JqYi3w8MM6L&nonce=xuMoedxTcuy2FuS4&response_type=code&scope=openid&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': 'Xdjs6JqYi3w8MM6L', 'code': 'kEoBpUDZUSvojZdoAWHzzeXPGufaoy'} |
2 | response | {'state': 'Xdjs6JqYi3w8MM6L', 'code': 'kEoBpUDZUSvojZdoAWHzzeXPGufaoy'} |
2 | AuthorizationResponse | {
"code": "kEoBpUDZUSvojZdoAWHzzeXPGufaoy",
"state": "Xdjs6JqYi3w8MM6L"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'Xdjs6JqYi3w8MM6L'}, 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': 'kEoBpUDZUSvojZdoAWHzzeXPGufaoy', 'state': 'Xdjs6JqYi3w8MM6L', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'Xdjs6JqYi3w8MM6L', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "kEoBpUDZUSvojZdoAWHzzeXPGufaoy",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
"state": "Xdjs6JqYi3w8MM6L"
}
|
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=kEoBpUDZUSvojZdoAWHzzeXPGufaoy&state=Xdjs6JqYi3w8MM6L |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'iVSXhXcJSB83GpY6pTiC', 'refresh_token': 'goCUp8zSHVGiNkGiFyJPSL3YScuiEbgpUDscI5gW', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.CIhAS2dYhtGWL79OMtm1rKDJ-WpAdE7P8Kj48vOl82-aV4VogpN2qw.EOC5XPVvCMc34G8zYmCTew.uZIip_vvCFEqqVyzuC1-3v8k_y22Rj6V4Q2qDYmSXyeMk0GCjByH6yNcIrUke9G4NWnYnAd89jma4pTY5EQP90lJsLahfcd7F9_xgkEUi__1U8f7wXO67K44rL2P0h369-JSfFbte3T7A30sd7yl-nKOvsh4ngwkNTcXQE4esy1Min4nba6MdgFU1HzMRQW2pUpsDJ7rGaf4d_Tg2YnxxHgIEOfTZM2AY_ushoAbWvxqSWh50g44C9Qp23G1LtRA5KwueGGtMqhw_TWhFHE8NfvlJhjQcmHEo4XyqgXTnBfCiiFAZB3cKk2fOs54TWNsGXvr4X82aPlIvNlIhS_pp2xASyfWNMw6AcKls_y82yMQJqn5TWOK3n2ii_DyJ-z7kfK2C_ohdwVLq9rE_vLpuP4FnwnvGzAnnq7V0gqEV-OFkUkq3yWpTsGlrEYswmp0OvFfJivEb447UXfbszXN0nqSZG7LzV3DjGgX7R7WHIKI53aIjlpxhC4m3bumCpTNUL3jIroLFSvpcSF0xz6quSHEwZRuwD1H0-5yJXIXET09ASMTbkH_R1ckAz2vej95M8-1TvsWoHZju3IJhp98yz3D4n-AgKiXLrdzlLP10FiQbjKfv-GgEtUuE1V44DBhx0UWncaC2K6zA0wYnDGaKM9QG7duv4-bepjUiGtI4FDI0VrpJyjt8H0RKJljaURjLpznkXKWNabyHXFeTTZVwVrmm-GOkeHIeyxeYlbHxLFomx14wbxPy-xtttPaozMhov7r8f2oDiDtT1G96vs0tSKM7TZAf0mvu6ANjhGM-poQgfEQ8dE3jovramUwdcOw_SoEwTsPaNUPjdQK2pqOFkVR7QBGO-EMTT0qIuDlVZIlaqSEB3FX3KDKwuTmEK62ipNncwsCGPECkdsntBhaY5R6NzSbR3HA95YUJVQPghcLV7d1o1eR4x-jGDuPmp_u.G4TQr5qMcYTeOOkJOeRghA', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "iVSXhXcJSB83GpY6pTiC",
"expires_in": 3599,
"id_token": {
"at_hash": "pwzyqIheg1yIWCh--0CRsg",
"aud": [
"clientID"
],
"exp": 1560834478,
"iat": 1560831058,
"iss": "https://isamfed.com:30443/test",
"nonce": "xuMoedxTcuy2FuS4",
"rt_hash": "pFkIjebAiAGaWEIz5Krnmg",
"sub": "testuser"
},
"refresh_token": "goCUp8zSHVGiNkGiFyJPSL3YScuiEbgpUDscI5gW",
"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 --- Done -->--> |
2 | end | |
2 | assertion | VerifyResponse |
2 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
2 | assertion | VerifySignedIdTokenHasKID |
2 | condition | verify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.] |
2 | condition | Done: status=OK |