You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, difficult to understand well what you would like to do.
If you would like to bind a KeycloakUser with your local user (entity), you can do that by Overide the KeycloakUserProvider.
You can also use an Event listener to change the Session user.
For our usecase we needed to store / update the user getting by Keycloak into our database.
We have solved this by writing our own KeycloakUserProvider extending the KnpU\OAuth2ClientBundle\Security\User\OAuthUserProvider and implementing the IDCI\Bundle\KeycloakSecurityBundle\Security\User\KeycloakUserProviderInterface.
Hello,
I've successfully implemented the bundle, but I couldn't get any relations of my App\Entity\User. Is there a way to retrieve this?
I've tried with a UserProvider, but something doesn't work properly, I guess...
Thanks for your help.
The text was updated successfully, but these errors were encountered: