Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different user database depending on client_id #1046

Open
guillerodriguez opened this issue May 19, 2023 · 0 comments
Open

Different user database depending on client_id #1046

guillerodriguez opened this issue May 19, 2023 · 0 comments

Comments

@guillerodriguez
Copy link

I have an application where the user database should be different depending on the client_id parameter.

This does not seem to be supported out of the box: the checkUserCredentials and getUserDetails methods in UserCredentialsInterface don't receive the client_id parameter.

I considered the possibility to subclass UserCredentials::validateRequest instead but this method needs to update the private $userInfo variable, which cannot be done from a subclass.

What is the recommended way to do this?
Is there a way to specify a different storage for the user database depending on client_id?
Other alternatives?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant