Is there possibility of adding query parameter to auth url to specify using of user storage provider?
can you elaborate? and give examples.
For example, there are several user storage providers for realm and user is authenticating via OIDC flow. Is there any way to specify certain user storage provider that will be used during user
authentication?
No, that’s not possible. You can set the priorities of your configured providers, and Keycloak will search the providers for a user in the set priority order, but you can’t specify a distinct one to be used.
you can’t by default do that.
but you can add custom made extension to do that with custom made conditional flows.
@lamoboos223
Could you provide example, what do you mean?
So in the extension, you can specify which user to authenticate against which user storage.
In the extension you will make two reference for each user storage and once you have the user in the context, apply the authentication to the user storage you prefer.
@lamoboos223
you mean, to add custom condition in user storage provider spi methods or which extensions? Because, anyway, all user storage providers will be applied in order…