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

Remove use of OAuth password grant type #77

Open
nitin-vavdiya opened this issue May 20, 2024 · 0 comments
Open

Remove use of OAuth password grant type #77

nitin-vavdiya opened this issue May 20, 2024 · 0 comments

Comments

@nitin-vavdiya
Copy link
Contributor

This is an enhancement ticket

Issue:

As per the current login flow, the frontend sends a username and password to the backend application and the backend authenticates the user using an OAuth grant-type password. This is not a recommended approach for many reasons.

Fix:

  1. Use keycloak.js in front end application to support login with code flow. It also solves the token refresh problem
  2. Remove login API from the backend application
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