TheNetworg / oauth2-azure

Azure AD provider for the OAuth 2.0 Client.
https://packagist.org/packages/thenetworg/oauth2-azure
MIT License
229 stars 108 forks source link

Implement time manipulation using JWT::leeway while validating nbf & exp #178

Closed elernonelma closed 3 months ago

elernonelma commented 1 year ago

It's available since branch 3.x cf https://github.com/firebase/php-jwt/blob/v3.0.0/src/JWT.php#L102 and well documented at https://github.com/firebase/php-jwt#example

MaximGns commented 3 months ago

Hi, is this something than can be merged as this is a very needed feature.

hajekj commented 3 months ago

Thank you, this is now merged. If no issues raise from this, I will proceed to create a release with this next week.