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": "nkQFmJEm2uhVcIyd",
"redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
"response_type": "code token",
"scope": "openid",
"state": "hX9FC17L0PRzWB7m"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=hX9FC17L0PRzWB7m&nonce=nkQFmJEm2uhVcIyd&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&client_id=clientID |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=hX9FC17L0PRzWB7m&nonce=nkQFmJEm2uhVcIyd&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&client_id=clientID |
1 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=m9eWBpf4B08NWN0TQbc8&state=hX9FC17L0PRzWB7m&expires_in=3599&token_type=bearer&code=bBbHUhWP10TsNprGGu7xyjtt3NkCQU&scope=openid |
2 | response | {'access_token': 'm9eWBpf4B08NWN0TQbc8', 'state': 'hX9FC17L0PRzWB7m', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'bBbHUhWP10TsNprGGu7xyjtt3NkCQU', 'scope': 'openid'} |
2 | AuthorizationResponse | {
"access_token": "m9eWBpf4B08NWN0TQbc8",
"code": "bBbHUhWP10TsNprGGu7xyjtt3NkCQU",
"expires_in": 3599,
"scope": "openid",
"state": "hX9FC17L0PRzWB7m",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'hX9FC17L0PRzWB7m'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb', 'code': 'bBbHUhWP10TsNprGGu7xyjtt3NkCQU', 'state': 'hX9FC17L0PRzWB7m', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'hX9FC17L0PRzWB7m', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "bBbHUhWP10TsNprGGu7xyjtt3NkCQU",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
"state": "hX9FC17L0PRzWB7m"
}
|
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%3A61771%2Fauthz_cb&code=bBbHUhWP10TsNprGGu7xyjtt3NkCQU&state=hX9FC17L0PRzWB7m |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'IxPkHc3MqObk0EUzplZO', 'refresh_token': 'HS2vwIscZAGzWqF6mU4wy0PWgZrRZoXSKKayq5i9', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.fngLkdHrdTqBH3uuWbSbGFCanO8dEPH6q3rtTHC2TzCz-27B19EMfA.Q7rHx-hjYmxrTE9r6u2uaA.YECrmE6ZxE2kDwBW5Zle394UWhfjTI6EsJXSCkWrRcI0l7yGl70RapbMX2U2hknpHjRxGrm9bps-3uDiIWnmoy8vpLjJ-mcRo_W_aL2erV3eo276KPmru2C2sphdcwNTTqWAkp0OVCUn77K4spzF8rA4OIkC0pCKufXoAJ2I8z5WOqf2GyBsOkBJej7ZB0zHlOjHlDu7FRNDYRMFrXfqesiiem3qr6RX1NGXhJjPzECTvTx2VMxGmBCRJzYZ-Rhssh0vGB2YgeoQI4zEfZ8BFfh9Oz3LZSyfHp_UI9nTmZe2XPTmteECrQszjPxNa51nhRB83OI4Vvj-Evvey8grEtcldKMnbJC4Iw-cMUvFT3O38kLA87kf2yeN07Ly8dmwdT46l5OKGWZeAIfNr4331iarmosPV4OL1-PpaXQlrh2EC5j3-OqQwjpMZN2hfSj821geEcD-oHt2m6doDRBNKnfhy6DohNhHAuhqaGbfH8ZcaUQsS6fVk19C1hdP5YP5UwcFzrF3ReAtdFMqtG4z-tZhxVKz4RuvxcjXl9cUmucSCrM758xYr0-FBcaHz7kG69w1LRX4YfJ-CFc_G5jhL1xR9vXRN2M08akZ4d98P8At5Lah118Hk0-Am2ULHnh5a0nbwqsUYizPj-L3aeksNsUqR3vDgpSxmIFSNMAgX-yogfjvF8muq8Pdylrd_WaPXna4MaII4dpOSFwxZNY39Iylplj5Nt-YKVV8DtnCeLNRaefilTCEeYfThVAh8s8XDa6C_ytqlBXGPNeY5jNiTtjyUhlozrK63qiImuNDXUbdGcn3sPj-3dw6ufxRy0sUHTH78qLFoi7nfq7CsZe0p7JiwvwF8yH60pLm9IFns5cNUd3WUhCrKsAsLbJavOWQnZH27-YC0U39uD9p5Lbz5ku1P95CllREQiYmfHEu1CQ3WlBnpkblITEuwG1gRQdf.km1AD5BSSeQGWhjLqSwvGA', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "IxPkHc3MqObk0EUzplZO",
"expires_in": 3599,
"id_token": {
"at_hash": "j0a1BSxyfgQVRxg6r59hZQ",
"aud": [
"clientID"
],
"exp": 1560835118,
"iat": 1560831698,
"iss": "https://isamfed.com:30443/test",
"nonce": "nkQFmJEm2uhVcIyd",
"rt_hash": "9iA8DsT7i9q6QzLbF-FPSw",
"sub": "testuser"
},
"refresh_token": "HS2vwIscZAGzWqF6mU4wy0PWgZrRZoXSKKayq5i9",
"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 | CheckIdTokenNonce |
2 | condition | check-idtoken-nonce: status=OK [Verify that the nonce in the IDToken is the same that's included in the Authorization Request.] |
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 | condition | Done: status=OK |