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_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": "peKyijH3o60tlbex",
"redirect_uri": "https://op.certification.openid.net:61569/authz_cb",
"response_type": "code token",
"scope": "openid",
"state": "hQ00iKVSnQLJy3Gr"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=hQ00iKVSnQLJy3Gr&nonce=peKyijH3o60tlbex&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61569%2Fauthz_cb&client_id=clientID |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=hQ00iKVSnQLJy3Gr&nonce=peKyijH3o60tlbex&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61569%2Fauthz_cb&client_id=clientID |
4 | http args | {} |
5 | response | URL with fragment |
5 | response | access_token=BSZFrxQq7Gc6QV2aMKGS&state=hQ00iKVSnQLJy3Gr&expires_in=3599&token_type=bearer&code=PrOBSR2dogBTpjkR1AbKj2IHDUisIc&scope=openid |
5 | response | {'access_token': 'BSZFrxQq7Gc6QV2aMKGS', 'state': 'hQ00iKVSnQLJy3Gr', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'PrOBSR2dogBTpjkR1AbKj2IHDUisIc', 'scope': 'openid'} |
5 | AuthorizationResponse | {
"access_token": "BSZFrxQq7Gc6QV2aMKGS",
"code": "PrOBSR2dogBTpjkR1AbKj2IHDUisIc",
"expires_in": 3599,
"scope": "openid",
"state": "hQ00iKVSnQLJy3Gr",
"token_type": "bearer"
}
|
5 | phase | <--<-- 4 --- AccessToken -->--> |
5 | request | op_args: {'state': 'hQ00iKVSnQLJy3Gr'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61569/authz_cb'} |
5 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61569/authz_cb', 'code': 'PrOBSR2dogBTpjkR1AbKj2IHDUisIc', 'state': 'hQ00iKVSnQLJy3Gr', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'hQ00iKVSnQLJy3Gr', 'authn_method': 'client_secret_basic'}
|
5 | AccessTokenRequest | {
"code": "PrOBSR2dogBTpjkR1AbKj2IHDUisIc",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61569/authz_cb",
"state": "hQ00iKVSnQLJy3Gr"
}
|
5 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
5 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
5 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61569%2Fauthz_cb&code=PrOBSR2dogBTpjkR1AbKj2IHDUisIc&state=hQ00iKVSnQLJy3Gr |
8 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
8 | response | {'access_token': '9chriCDbhxzfP8f7xGYx', 'refresh_token': 'wb5QcJpd0Tb7WqTQ4fNc6vMUUcLErI5p7HdkAxPc', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiV19lcm41RFlXLXN6b3JLbzVONXRpUSIsIm5vbmNlIjoicGVLeWlqSDNvNjB0bGJleCIsImlhdCI6MTU2MDc1ODA0OSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6InVuaERhUFI0OTN6bUI5TmhKX1R4dHciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MTQ2OSwiYXVkIjoiY2xpZW50SUQifQ.satJtdwezuTS59ua7wOhNh9dopwMsS5FFa30AZ-42xKBltZ2utXO0oxHMZvq_xEOF7PXNS-kMMegsP0S7bqBolrHav2axhnYB3NetCjRjgammfLzXpEgc85jFQMP0iRaVwCCPVNuLahWOR7u-Svp9Ei1FHlhkNWeB9olE0HfLqlTv4yMPIEgGIitr_dkiocBuiHhgDveqSmqvbssaXzaqrgbpD0fUkXAcS0hqUa1ykQ90FJRGQSZTU5vtYhhsmkqdpKkzbMSVLTSrv_0-rW9WSD9jjBEhveOUrC4HXAMwdS8N2vgp3GH1uQjKjcwM9iRzxbtbNXbN9AchrUod7S6og', 'token_type': 'bearer', 'expires_in': 3599} |
8 | AccessTokenResponse | {
"access_token": "9chriCDbhxzfP8f7xGYx",
"expires_in": 3599,
"id_token": {
"at_hash": "unhDaPR493zmB9NhJ_Txtw",
"aud": [
"clientID"
],
"exp": 1560761469,
"iat": 1560758049,
"iss": "https://isamfed.com:30443/test",
"nonce": "peKyijH3o60tlbex",
"rt_hash": "W_ern5DYW-szorKo5N5tiQ",
"sub": "testuser"
},
"refresh_token": "wb5QcJpd0Tb7WqTQ4fNc6vMUUcLErI5p7HdkAxPc",
"scope": "openid",
"token_type": "bearer"
}
|
8 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
8 | phase | <--<-- 5 --- Done -->--> |
8 | end | |
8 | assertion | VerifyResponse |
8 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
8 | assertion | IsIDTokenSigned |
8 | condition | is-idtoken-signed: status=OK [Checks if the id_token is signed] |
8 | condition | Done: status=OK |