Creating a Custom Identity Provider for Authentication via REST API #37343
Unanswered
kelvinsleonardo
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Keycloak 26 in a multi-tenant environment, where each client of my SaaS has its own realm.
I need to create a custom Identity Provider (IdP) that allows users to choose between:
Example of client APIs:
Company1 client:
Company2 client:
Keycloak should communicate with this external REST API to authenticate the user. If authentication is successful, a federated user should be automatically created in Keycloak (if they do not already exist).
My question:
Is it possible to create a custom Identity Provider (IdP SPI) to integrate Keycloak with these external authentication services via REST API? If so, what would be the correct approach to implement this?
If anyone has done something similar or has a working example, any help would be greatly appreciated!
Thanks! 🚀
Beta Was this translation helpful? Give feedback.
All reactions