laravel-shopify
laravel-shopify copied to clipboard
Token verification creates redirect loop
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.
hi @npabisz
Good catch, are you up for creating a PR with a potential solution?