GriffinLedingham / php-apple-signin

🗝 Decode Apple Sign In client tokens in PHP
BSD 3-Clause "New" or "Revised" License
200 stars 87 forks source link

Class 'ExpiredException' not found #3

Closed naumanpathan closed 4 years ago

naumanpathan commented 4 years ago

Hello, I have tried this plugin in my Yii2 project and unfortunately, I get the error regarding the exception. And in my case, I get the errors with the following exceptions from vendor:

  1. SignatureInvalidException
  2. BeforeValidException
  3. ExpiredException

The JWT.php code file image reference image

Error image reference image

naumanpathan commented 4 years ago

I have fixed this issue by using 5 new files and link those files into JWT.php. Plugin code was for a temporary solution so i fixed plugin code to meet requirements

The solution is:

Thank you.