mxstbr / passport-magic-login

Passwordless authentication with magic links for Passport.js.
MIT License
664 stars 45 forks source link

Handle a case when magic link is expired #39

Open sauravpratihar opened 2 months ago

sauravpratihar commented 2 months ago

Currently it returns "Unauthorised" when JWT is expired. It would be good to control over the response OR provide it in the verify?