Setting same-site-cookie property from environment/.env file #23963
-
I have trouble setting Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
CC @radcortez |
Beta Was this translation helpful? Give feedback.
-
The env property format is unable to fully represent In that situation, you need to include the original property name in the dotted format in another config source (like If you are just using the |
Beta Was this translation helpful? Give feedback.
The env property format is unable to fully represent
quarkus.http.same-site-cookie.Mercurio_cookie.value
, because we only have available a subset of the possible characters. So, for instance, if you pickQUARKUS_HTTP_SAME_SITE_COOKIE_MERCURIO_COOKIE_VALUE
, it can represent,quarkus.http.same.site.cookie.mercurio.cookie.value
or other combinations. In fact, you don't how if the env variable_
should map to a.
a-
or a_
.In that situation, you need to include the original property name in the dotted format in another config source (like
application.properties
). This will allow Quarkus based on an already existent property thatQUARKUS_HTTP_SAME_SITE_COOKIE_MERCURIO_COOKIE_VALUE
is actuall…