Open xzdwq opened 3 months ago
Hi @xzdwq , do you know the name of this flow? Thank you for your issue. So you you receive the access_token during the callback and does not need something more?
@guillaume-chervet I do not know if this flow has a name, but this is the policy in our company. We get information about the user from id_token, and validate work with services using access_token, it also contains "expired" information.
Maybe there is an optional option to use access_token as the main one?
Hi! My config:
After successful authorization on the AD FS side, the redirect takes place back to the application and returns the following parameters to me:
This is enough for me to authorize the user inside the application, but I have to call the method:
oidcClient.loginCallbackAsync()
The method calls the URL:
https://adfs.x.com/adfs/oauth2/token/
When accessing which I get a CORS error.I don't need to call
https://adfs.x.com/adfs/oauth2/token/
, because I already know it. Is there a way to not call URLhttps://adfs.x.com/adfs/oauth2/token/
and process theoidcClient.loginCallbackAsync()
method?Versions
"@axa-fr/oidc-client": "^7.22.22-alpha.1536",
Expected
When specifying
response_type: 'id_token token'
, do not make a separate request for the token