I am currently working on a spring boot and spring security project and we want to integrate keycloak as an IDP.
The problem is that we have a somewhat specific user management (groups, profiles, privileges, assignment ...) and we want to keep it on the application side while integrating keycloak.
I saw in the documentation that we could configure keycloak to authenticate users on an existing database by implementing a user storage SPI.
Is this the best solution? or you recommend me another way to implement this case figure
thanks in advance
Best regards,