From 85b5e266cbed1093e1440ee0ac50087697a96108 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 28 Mar 2020 19:50:44 +0100 Subject: 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 --- src/main/resources/application.properties | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/resources') 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.auth-server-url = https://login.benkard.de/auth/realms/master 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 -- cgit v1.2.3