mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:53:00 +03:00
🚀 Feature: Support SameSite cookie attribute #287
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @adrianmace on GitHub.
Feature description
I want the ability for the session cookie to be set to SameSite: Lax so that I can authenticate to multiple sub-domains with a single request.
Pitch
In my use-case, I run multiple services behind a single sub-domain (
*.something.example.com) and reverse proxy (Traefik). The result isapp-1.something.example.comandapp-2.something.example.com.Currently Traefik intercepts all requests and authenticates them via Pocket-ID before processing the request further. This works, but authentication is happening once for each app/sub-domain I hit.
I want to authenticate once and have that persist for every app under the same sub-domain. This could be the default behaviour or an optional thing.
In Authentik SameSite: Lax is default behaviour, along with a 1 month cookie expiry time.
@adrianmace commented on GitHub:
This relates to #219
@adrianmace commented on GitHub:
This is being set on my OIDC plugin for Traefik. Closing.