-
Notifications
You must be signed in to change notification settings - Fork 829
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
Improve Performance of IdP Lookup during Password Grant #3161
Improve Performance of IdP Lookup during Password Grant #3161
Conversation
…nManager.authenticate
…dition checking for empty login hint
…y look up the single provider instead of all qualifying in the zone
…zed query is executed
dd58a01
to
a87e775
Compare
please have a look on Refactoring from #3165 this PR here increases the code complexity but I tried in #3165 to reduce complexity and removed the not needed interface: because we have the generic one with "IdentityProviderProvisioning identityProviderProvisioning" In 2nd PR I added your tests, see #3168 because for retrieveByOrigin it does not matter if externalOAuthProviderProvisioning or identityProviderProvisioning. |
closing in favor of #3165 |
Optimize the lookup of IdPs during password grant flow: whenever "uaa" or "ldap" is used as a login hint, we no longer read all active IdPs in the identity zone but rather only the single one.