diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-03-28 19:50:44 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-03-28 19:50:44 +0100 |
commit | 85b5e266cbed1093e1440ee0ac50087697a96108 (patch) | |
tree | ee22d8a981499a7bb392b96d3c22f21c86c89a12 /src | |
parent | 2f3ce9a0e0ea14c9e98395eee181d9e01b5aad58 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/main/resources/application.properties | 1 |
1 files changed, 1 insertions, 0 deletions
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 |