[keycloak-user] Custom user storage (external user DB) + Social Login

Adrien Desbiaux adrien.desbiaux at gmail.com
Sun Feb 18 10:34:46 EST 2018


Hi there!

I am currently implementing a custom `UserStorageProvider`.

The Module does NOT store the user into Keycloak but rather in-memory. This
is the, let's say, opposite of the Import method for a
`UserStorageProvider`.

For reference:
http://www.keycloak.org/docs/latest/server_development/index.html#_user-storage-spi

So, the user is properly Authenticated against the external User
database/service and is into the `loadedUsers` in-memory Keycloak store.

What about with a Facebook login then? How can the FB login be intercepted
in the same way than for a usual username/password login so that the user
is not stored into the Keycloak database but rather into the external user
database/service?

Thanks in advance for any hints!

Cheers,


More information about the keycloak-user mailing list