-
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
OIDC Client does not use connection-delay property #14959
Comments
/cc @pedroigor, @sberyozkin |
Might be a regression caused by Uni based refactoring (i.e I did not update the exception code properly) |
@bwand I've removed |
@sberyozkin Ok it does not reconnect which prevents the app from starting. ;-) We are using docker-compose which starts up everything and even when using depends_on (to keycloak) in docker-compose.yaml we always have some apps not started in first shot and need to manually restart them which is a bit annoying. So it is fine that you agree it has to be fixed. |
Oh I see, it is |
Yes it is quarkus-oidc-client and not quarkus-oidc. |
@sberyozkin can you have a look? I think my pr solves the issue |
Fixed non-working delay for oidc-client
(cherry picked from commit e282fd5)
Describe the bug
When using the OID Client and starting the app without running Keycloak it crashes instantly and does not respect the connection-delay property as the normal OIDC stuff does.
Expected behavior
OIDC Client should wait and retry the connection for the configured connection-delay
Actual behavior
App tries to start and crashes instantly:
Startup when Keycloak is already running:
To Reproduce
2 Add delay properties quarkus.oidc.connection-delay=120S and quarkus.oidc-client.connection-delay=120S
Configuration
Does not work when I use the 120S and not a placeholder.
Environment (please complete the following information):
java -version
: openjdk version "11.0.2" 2019-01-15The text was updated successfully, but these errors were encountered: