mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3577] Magic Link Toen expired immediately with non-default timezone #1226
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1226
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @WestFarmer on GitHub (Nov 22, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3577
Is there an existing issue for this?
Current behavior
login with email, the token is expired immediately.
Steps to reproduce
I am deploying with kubernetes and mounted a timezone file like this:
I am doing this is because I am in UTC+8, to see correct time such as in logs.
but this will fail the email magic link login
Environment
Production
Version
Self-hosted
@dudename commented on GitHub (Nov 29, 2023):
Had the same issue. In my case, I have mounted /etc/localtime in containers and authorization via magic link in an email return a 401 code and a message that the magic link has expired.
@kadet77rus commented on GitHub (Dec 4, 2023):
Had the same issue. But i didn't mount localtime file
@kadet77rus commented on GitHub (Dec 4, 2023):
For clarify - i have the same timezone on all my VMs and containers, but i see user creation time at UTC. I've added to AIO container tzdata package
hoppscotch container:
host with DB:
@kadet77rus commented on GitHub (Dec 5, 2023):
maybe, this check works incorrectly?
workaround: increase value of
MAGIC_LINK_TOKEN_VALIDITYin the.envfile@zonewancheng commented on GitHub (Sep 29, 2024):
I also encountered this problem, and I solved it in the following way
@lht030825 commented on GitHub (Apr 21, 2025):
I've run into this issue too. Since the analysis above has identified the problem, could we implement a fix?
@liyasthomas commented on GitHub (Jul 30, 2025):
This issue has been resolved in the latest version.