You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After Quarkus refactoring in quarkusio/quarkus#45769 the quarkus.http.auth.form.cookie-name setting is available only at runtime. HillaSecurityRecorder.setupFormAuthenticationMechanism should be changed to avoid getting the value at build time, postponing the lookup in the supplier instance or in the constructor of HillaFormAuthenticationMechanism.
Caused by: java.util.NoSuchElementException: SRCFG00014: The config property quarkus.http.auth.form.cookie-name is required but it could not be found in any config source
at io.smallrye.config.SmallRyeConfig.convertValue(SmallRyeConfig.java:507)
at io.smallrye.config.SmallRyeConfig.getValue(SmallRyeConfig.java:452)
at io.smallrye.config.SmallRyeConfig.getValue(SmallRyeConfig.java:431)
at com.github.mcollovati.quarkus.hilla.security.HillaSecurityRecorder.setupFormAuthenticationMechanism(HillaSecurityRecorder.java:34)
at io.quarkus.runner.recorded.QuarkusHillaSecurityProcessor$registerHillaFormAuthenticationMechanism1975585193.deploy_0(Unknown Source)
at io.quarkus.runner.recorded.QuarkusHillaSecurityProcessor$registerHillaFormAuthenticationMechanism1975585193.deploy(Unknown Source)
... 8 more
The text was updated successfully, but these errors were encountered:
Quarkus 3.19 refactors HTTP configuration in a way that cookie name
is available only at runtime.
This change move the configuration retrival inside the Supplier
returned by setupFormAuthenticationMechanism so that the configuration
can be retrieved.
Fixes#1270
After Quarkus refactoring in quarkusio/quarkus#45769 the
quarkus.http.auth.form.cookie-name
setting is available only at runtime.HillaSecurityRecorder.setupFormAuthenticationMechanism
should be changed to avoid getting the value at build time, postponing the lookup in the supplier instance or in the constructor ofHillaFormAuthenticationMechanism
.The text was updated successfully, but these errors were encountered: