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 have implemented your module, but when I test the session data I can see token is being appended again every time the page refreshes, I cant work out why it is doing it
"session": {
"user": {},
"expires": "2024-07-13T09:59:46.600Z"
},
"token": {
"token": {
"token": {
"token": {
"token": {
"token": {
"token": {
"token": {
"name": "User Name",
"email": "[email protected]",
"sub": "87f1c6f8-ef32-47c9-9cc9-c302e4f97cf4"
},
"user": {
"id": "87f1c6f8-ef32-47c9-9cc9-c302e4f97cf4",
"name": "Fake Org"
### Additional context
I am using these as callbacks
Environment
Reproduction
Follow this tutorial for implementation
https://authjs-nuxt.pages.dev/usage.html
Describe the bug
I have implemented your module, but when I test the session data I can see token is being appended again every time the page refreshes, I cant work out why it is doing it
async jwt(token, user, account, profile, isNewUser) {
if (account) {
token.accessToken = account.accessToken
}
return token
async session(session, user, token) {
return session
}
The text was updated successfully, but these errors were encountered: