Skip to content

Conversation

@strehle
Copy link
Member

@strehle strehle commented Feb 6, 2025

Causing Issue #3271

Withe the change from #3165 we improved performance because the loop of OIDC providers in /login endpoint should not request always all OIDC idps.
But now if you want use a concrete OIDC idp for password grant there could be the situation, that no tokenUrl is available

This PR checks if tokenUrl is null ( which is allowed from configuration ) and then fetch OIDC metadata. If the tokenUrl still is null, then exit with an error, but not run ino NPE.

@strehle strehle changed the title Fix OIDC discovery update Fix regression with OIDC discovery url but no tokenUrl Feb 11, 2025
@strehle strehle merged commit f9e2fbc into develop Feb 11, 2025
22 checks passed
@strehle strehle deleted the fix/issue/3271 branch February 11, 2025 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

OIDC password grant using external IdP with discoveryUrl config

2 participants