Repository navigation
Login using Keycloak pages but get the password the user entered in my webpage as well #16662
Unanswered
mahmoodAtcom
asked this question in
Q&A
Replies: 1 comment
|
So icame up with the most stupid way to do it, I modified the login page theme and added a script that listens to login button click and saves the entered username and password in the sessionStorage as base64 encoded strings (this works as i am hosting keycloak behind same origin of my app), and once my apps load i read the values and delete them, not secure but works for now... |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
So i have to integrate with a third party system that i connect to over websocket and pass LDAP username and password (this is the only way to integrate with this system), but i want to secure the webapge i am developing with Keycloakas i need the SSO features to auto login to Grafana and other components as well, but my problem is that i also need the username and password in plain text to pass it to this legacy system.
is there a way to obtain the username and the password the user entered on the keycloak webpage after it redirects to my application ? if not please suggest any possible solution where i can maintain SSO but still get the username and password entered by the user.
All reactions