Configure cookie path for q_session cookie.
While Gecko defaults to / as the cookie path if not set, Safari
defaults to the page that set the cookie. This means that the session
cookie is only valid for the page a login flow was started from but
not any other pages and so a new login is required for each page,
which makes no sense and is very inconvenient. This patch fixes the
problem by explicity setting the cookie path to /.
Change-Id: I8edc59958fe9120f70af1c00ebc8ae103ef756f7
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 4d03175..bf3b1a4 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -35,6 +35,7 @@
quarkus.oidc.client-id = mulkcms
quarkus.oidc.application-type = web-app
quarkus.oidc.token.principal-claim = preferred_username
+quarkus.oidc.authentication.cookie-path = /
#quarkus.oidc.authentication.redirect-path = /oidc/login
quarkus.security.users.file.enabled = false