-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
adds 1-second leeway to JWT validation to prevent intermittent except… #828
Conversation
adds 1-second leeway to JWT validation to prevent intermittent except…
Should it be fixed in newest version? |
@Kak3n v2.0.0-RC5 and on have had this change. |
thanks ok. 2016-05-25 18:49 GMT+02:00 Brent Shaffer notifications@github.com:
|
On my server, the system time is 2 min prior to the current time so I got this problem. The system admin may have to run the ntp service for date updates. |
Mine shows 5 hours later than what what the Google Token returns, even using the latest version. |
@jslewis90 I imagine this is an issue with your server's date/time configuration. |
Now is impossible to set leeway outside vendor. Please rollback this fix. |
@Martinfree You're right, this is not an optimal solution because it pollutes global scope. I'll submit a fix that ensures the adjustment is localized. It would be great if the |
@bshaffer thank you for considering my suggestion. Cheers. |
Hello, I have that same problem me too, The problem is solving when i changing $leeway variable value as "+=60", but i do not want change in core file of package. But i don't find any way overwrite this variable on another place. There is any way changing that variable another place? I'm using 2.1.2 version on laravel as package. |
@fg-developer You can pass a custom JWT object to
Refer this post. |
…ions