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
This is a feature request for module augmentation using TypeScript.
When you add custom properties to the access token payload in the backend via createNewSession override, you lose type safety in the front-end when accessing the payload object.
This is a feature request for module augmentation using TypeScript.
When you add custom properties to the access token payload in the backend via createNewSession override, you lose type safety in the front-end when accessing the payload object.
A sortof work-around is to do something like
It would be nice to have a way to tell TypeScript the content of the payload in a more global way, like next-auth does
The text was updated successfully, but these errors were encountered: