Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Token verification creates redirect loop #1179

Open
npabisz opened this issue Jul 29, 2022 · 1 comment
Open

Token verification creates redirect loop #1179

npabisz opened this issue Jul 29, 2022 · 1 comment

Comments

@npabisz
Copy link

npabisz commented Jul 29, 2022

I just discovered that one on my apps has issue with token verification which makes redirect loop for x seconds for the first time app is opened. I'm talking about src/Objects/Values/SessionToken.php#269 which was triggering assertion. What I found out was that my server had not synchronized time. Steps to fix:

sudo apt install systemd-timesyncd
sudo systemctl start systemd-timesyncd

However maybe there should be some warning/error saying that there is issue with time instead of tons of redirects.

@Kyon147
Copy link
Collaborator

Kyon147 commented Aug 9, 2022

hi @npabisz

Good catch, are you up for creating a PR with a potential solution?

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants