You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using @auth/sveltekit with Azure-AD provider and ran into this issue. The expires_in is returned as a string, which fails this library's JWT checks.
It's the defined as a number, so the rejection is right in place. If you want, you can parse the Response instance and re-instantiate it with a fixed expires_in member or have authjs deal with this in its provider abstraction.
What happened?
I was using @auth/sveltekit with Azure-AD provider and ran into this issue. The expires_in is returned as a string, which fails this library's JWT checks.
Oauth Provider: Azure Active Directory (Azure AD)
Project: Sveltekit
Auth Library: @auth
Nodejs 18x
Version
2.3.0
Runtime
Node.js
Runtime Details
18.x
Code to reproduce
Required
The text was updated successfully, but these errors were encountered: