mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-22 12:02:45 -05:00
[GH-ISSUE #2301] Safari drops p_oidc_state cookie on OIDC callback, missing state error
#17110
Reference in New Issue
Block a user
Originally created by @thesammykins on GitHub (Jan 22, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2301
Originally assigned to: @miloschwartz on GitHub.
Describe the Bug
When using Safari with Pangolin + Pocket-ID (OIDC), the login fails with:
"There was a problem connecting to Pocket-ID... The login request is missing state information."
Pangolin sets the
p_oidc_statecookie on/auth/login, but Safari does not send it back on the OIDC callback, so Pangolin cannot validate state. Chrome works normally.Evidence (Traefik access logs)
Safari run (fails):
Chrome run (succeeds):
Evidence (Pangolin logs)
Chrome run (success):
Notes
/authorizerequests succeed in both Safari and Chrome.Environment
https://pangolin.TLD.comhttps://auth.TLD.comTo Reproduce
https://pangolin.TLD.com.Expected Behavior
OIDC login completes successfully.
@github-actions[bot] commented on GitHub (Feb 6, 2026):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@thesammykins commented on GitHub (Feb 6, 2026):
This issue still exists as of 6th Feb 2026.
@github-actions[bot] commented on GitHub (Feb 21, 2026):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@thesammykins commented on GitHub (Feb 21, 2026):
This is still an issue.
@writzthecat commented on GitHub (Feb 24, 2026):
Happens for me also
@Vyerni commented on GitHub (Feb 28, 2026):
Im getting the same error (not necessarily the exact same issue) on FF.
I then need to use an incognito window to get into some services
@AstralDestiny commented on GitHub (May 7, 2026):
Are you behind cloudflare or anything and what's your config set like for pocketid, I use Authelia myself but no issues here for that. Unless one of you wants to verify within ios so I can get better logging.
@Vyerni commented on GitHub (May 8, 2026):
I'm not behind CF. And it doesn't happen all the time.
All I can tell, it's something with caching. Once I close every site attached to my domain, clear cookies and cache, it appears to work again. I haven't had it show up for about 2-3 weeks currently, so unfortunately I can't test
@AstralDestiny commented on GitHub (May 8, 2026):
Well if someone does have an ios device that will be a test subject let me know. Got no ios devices.