We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm getting a Firebase\JWT\BeforeValidException exception so I've resorted to setting JWT leeway as below, which fixes the issue:
Firebase\JWT\BeforeValidException
Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { \Firebase\JWT\JWT::$leeway = 60; // <----- Fix $event->extendSocialite('azureadb2c', \SocialiteProviders\AzureADB2C\Provider::class); });
I've rather not use \Firebase\JWT\JWT directly as it might change depending on your implementation.
\Firebase\JWT\JWT
I do see some related issues (https://github.com/SocialiteProviders/Providers/issues?q=leeway) and a comment mentioning that it was fixed in #811, but I can't find the solution documented anywhere or from scanning the source code.
The text was updated successfully, but these errors were encountered:
Feel free to PR a fix :)
Sorry, something went wrong.
No branches or pull requests
I'm getting a
Firebase\JWT\BeforeValidException
exception so I've resorted to setting JWT leeway as below, which fixes the issue:I've rather not use
\Firebase\JWT\JWT
directly as it might change depending on your implementation.I do see some related issues (https://github.com/SocialiteProviders/Providers/issues?q=leeway) and a comment mentioning that it was fixed in #811, but I can't find the solution documented anywhere or from scanning the source code.
The text was updated successfully, but these errors were encountered: