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

Moving login to use keycloak login page #174

Closed
Vismayak opened this issue Jan 10, 2024 · 2 comments · Fixed by #181
Closed

Moving login to use keycloak login page #174

Vismayak opened this issue Jan 10, 2024 · 2 comments · Fixed by #181
Assignees
Labels
3storypoints Between 7-15 hours of work, requiring back and forth communications to clarify a complex problem

Comments

@Vismayak
Copy link
Member

Vismayak commented Jan 10, 2024

Reason - Enables us to use keycloak APIs to login with 3rd parties
Sources - Farmdoc and Clowder also does this, look for it there
Useful note - https://refactored-carnival-0c1ec87e.pages.github.io/keycloak.html
https://onelinerhub.com/reactjs/how-can-i-implement-keycloak-authentication-with-react-js

@Vismayak Vismayak added the 2storypoints Between 2-6 hours of work, requiring email and/or a brief meeting label Jan 10, 2024
@Vismayak Vismayak self-assigned this Jan 10, 2024
@Vismayak
Copy link
Member Author

Vismayak commented Jan 10, 2024

Look for keycloak admin login in the values file of box folder

@Vismayak Vismayak added 3storypoints Between 7-15 hours of work, requiring back and forth communications to clarify a complex problem and removed 2storypoints Between 2-6 hours of work, requiring email and/or a brief meeting labels Jan 17, 2024
@Vismayak
Copy link
Member Author

Update - I have almost figured out how to connect the keycloak js adapter, the issue right now is I initialized it in the wrong place, , right now I created in the actions for reducers. I will instead move the variable to config, then handle the login logic inside the login component similar to farmdoc. Logout handling compnent is created.

One thing to look out for will be the redirect uri, depending on the place that called the login, this can be handled probably in the component

@Vismayak Vismayak linked a pull request Feb 7, 2024 that will close this issue
@Vismayak Vismayak removed their assignment May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3storypoints Between 7-15 hours of work, requiring back and forth communications to clarify a complex problem
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants