Custom sign in page for Keycloak provider #10860
Unanswered
Nmohyieddine
asked this question in
Help
Replies: 1 comment
-
I'm also interested in this. @Nmohyieddine please let me know what you end up going with as this is something I'm going to have to tackle in the near future as well. Would be nice to have some insight on it. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone, I'm currently exploring integrating NextAuth with the Keycloak provider. My goal is to leverage Keycloak IAM while employing a custom sign-in form. Upon researching, I discovered that to avoid redirection to the default sign-in page of the provider, I can override it using the
pages
option in theAuthOptions
object. However, I'm now facing difficulty in ensuring that my application captures sign-in information and passes it to Keycloak. I'm wondering if NextAuth offers functionality for this or if I should utilize a credentials provider and then employ the Keycloak-JS adapter for this specific use case.Here is my route.tsx file :
and the example of the signIn form i would like to use :
Beta Was this translation helpful? Give feedback.
All reactions