Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom timezone to validate token #1501

Open
CarlosEduardoC1 opened this issue Jan 23, 2025 · 1 comment
Open

Custom timezone to validate token #1501

CarlosEduardoC1 opened this issue Jan 23, 2025 · 1 comment

Comments

@CarlosEduardoC1
Copy link

CarlosEduardoC1 commented Jan 23, 2025

Hi everyone!

I'm developing a React + Vite app and some of my users use mannualy date time configuration in their smartphones. Because of this, that users are receiving a "expired token" message by react-oidc lib.

There some custom config or implementation that I can do to de lib uses a differente timezone to validade the user's token?

Image

Thanks.

@guillaume-chervet
Copy link
Contributor

hi @CarlosEduardoC1 OIdc Server timestamp are independant of timezone.

What are your token lifetime expiration? oidc client demo actually have a very short token lifetime (I think 120 seconds) . Does the demo works with your users?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants