Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to set Authorization code flow as an alternative for implicit grant for hosted UI support #14

Open
Ressvieth opened this issue Jan 24, 2024 · 0 comments

Comments

@Ressvieth
Copy link

Current solution works only with implicit grant type, but this approach is not recommended due to security issues:
https://oauth.net/2/grant-types/implicit/

There can be an easy fix set for hosted ui support option, to use Authorization code flow (https://oauth.net/2/grant-types/authorization-code/) - adding optional request for token endpoint inside handleCallback method.

https://docs.aws.amazon.com/cognito/latest/developerguide/token-endpoint.html

@Ressvieth Ressvieth changed the title Possibility to set Authorization code flow as an option for implicit grant for hosted UI support Possibility to set Authorization code flow as an alternative for implicit grant for hosted UI support Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant