Closed sberyozkin closed 3 years ago
/cc @stuartwdouglas
There was a problem with the build step - Stuart, FYI, if the restart is not required then the various config property items have to be re-produced - returning null is a problem - I've copied this code myself - perhaps it is not a problem for other extensions
Describe the bug
Sorry if the bug description is misleading, hard to tell where the problem is at the moment. I've noticed it while experimenting with
Dev Services for Keycloak
draft PR. After restarting a container the property which calculates its address is not refreshed in the template.Expected behavior
No response
Actual behavior
No response
How to Reproduce?
Can be reproduced with #17364:
quarkus-quickstarts/security-openid-connect-quickstart
'sapplication.properties
to only havequarkus.oidc.devservices.grant.type=implicit
(remove everything else) and start withquarkus:dev
Provider: Keycloak
in theOpenId Connect
cardSign In to Keycloak to get Access Token
- press it, enteralice:alice
when signing in to KC, you are returned back to thespa
page where this token can be posted for ex to/api/admin
application.properties
- remove the grant property, this file is now empty, the container is now restartingProvider: Keycloak
again - you will indeed see a different page now, no option toSign In to Keycloak to get Access Token
, justTest Service
- enter/api/admin
into aService Path
and clickTest Service
and there will be aConnection Exception
reported - stop Quarkus - startquarkus:dev
again - all is good, this page works as expectedOutput of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response