Hello everyone,
I have a Keycloak deployment where I’ve configured an external Identity Provider (IdP) for authentication. I’m trying to achieve the following flow:
- A user logs in via the external IdP
- An IdP mapper is used to assign appropriate roles
- The user is not created or stored locally in the Keycloak user database
Is there a supported way to prevent Keycloak from creating a local user entry when authenticating through the IdP? Ideally, I’d like to rely entirely on the IdP for user identity and avoid any local persistence.
Any guidance or best practices would be greatly appreciated!
Many thanks!