You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Creating login pages via React (headless auth)
#35922
It would be great if we could create login pages using technologies that we are comfortable with.
I say the login section (login, forgot password, etc.) because other parts can already be developed using REST API.
For example, we have a React panel in which we let users manage their data, or let admins create users and assign roles with Keycloak API as the backend.
It would be an amazing DX if we could get headless auth.
Discussion
No response
Motivation
Keycloak is made of some parts.
Login
User account
Admin panel
CLI
Teams need to customize or integrate these parts into their applications. Login can be customized, but it's hard for teams not familiar with Java, Patternfly, Freemaker template, etc.
They can integrate user account and admin features into their existing applications, using Keycloak REST API.
But the login page is tightly coupled.
Details
We can use keycloak JavaScript client library. It can expose some utility methods to check some known attack possibilities (for example open redirection). It can act as a headless auth provider/checker.
This discussion was converted from issue #35920 on December 15, 2024 16:16.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Description
It would be great if we could create login pages using technologies that we are comfortable with.
I say the login section (login, forgot password, etc.) because other parts can already be developed using REST API.
For example, we have a React panel in which we let users manage their data, or let admins create users and assign roles with Keycloak API as the backend.
It would be an amazing DX if we could get headless auth.
Discussion
No response
Motivation
Keycloak is made of some parts.
Teams need to customize or integrate these parts into their applications. Login can be customized, but it's hard for teams not familiar with Java, Patternfly, Freemaker template, etc.
They can integrate user account and admin features into their existing applications, using Keycloak REST API.
But the login page is tightly coupled.
Details
We can use
keycloakJavaScript client library. It can expose some utility methods to check some known attack possibilities (for example open redirection). It can act as a headless auth provider/checker.All reactions