In version 10.0.2 does keycloak supports mongodb as identity database?

With latest release 10.0.2 does keycloak supports mongodb as identity database?

I don’t think it would support as its not a RDBMS.

Look into the documentation for alternative RDBMS that you can configure keycloak

https://www.keycloak.org/docs/latest/server_installation/index.html#_database

Ak @cric1 already said, Keycloak only supports RDBMS.

There was a MongoDB support in early days, but it was removed b/c of maintenance effort.
If you need/want to connect to a MongoDB, there’s of course the posibility to implement an UserSPI to connect to whatever store you like.

Hi Thank You. Can you please send any link referring that. Because it would be better if I can connect to mongo db.

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

1 Like