Repository navigation
Conversation
- getUserByCredential will now iterate through all applicable CredentialAuthenticators. Returns response early, if the output from the authenticate call indicates the user is authenticated. Otherwise, will return the last failed output. Returns null if none of the CredentialAuthenticators provide a non-null response Fixes keycloak#22352
|
Thank you for contributing this PR. I had a look and I see that it changes the behavior to ask multiple authenticators for their response, and iterates of them. This is actually an aggregation of While this will probably work in the scenario described here, I see the problem that one provider denies the request, and then a second approves it. Should the deny take precedence? This leads to a lot of questions for me. With the current As this is going more in the direction on how credential authentication should work, I'm assigning this to the core team, cc: @mposolda. |
Fixes #22352