-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Programmatic OIDC startup #44958
Comments
/cc @pedroigor (oidc) |
I'll put this very high on my list, somewhere near to the top, but I think this needs proper discussion. For me, this
Or maybe you mean that |
Thanks @michalvavrik, sure let's think more about how to do it. I haven't thought about details yet, but at the high level, I'm imagining it will be done very similar to the way May be it should not be #16728 is related, indirectly, #16728 may need to be done at some point to let May be, once we do this one, we can give #16728 a try to have whatever programmatic OIDC setup which will be available after this PR working with programmatically prepared HTTP policies. |
thanks for your thoughts
+1, because whether OIDC is enabled or disabled must be done during the build time, but we can support what you describe during the application startup without big issues and I think it will be extendable if in the future more things should be configured. |
Description
Currently, Quarkus OIDC users usually use properties to initiate the OIDC startup (connection, discovery, JWK set retrieval).
They can also use
TenantConfigResolver
to create OIDC tenants dynamically - but it happens at the request time.It would be good to support programmatic OIDC startup, for users to be able to do it in
main()
or in Startup event handlers.This enhancement will serve 2 purposes:
Implementation ideas
Now that we have an OIDC builder support, we can try something like:
etc
The text was updated successfully, but these errors were encountered: