-
-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
- I created an anonymous user
- I called updateUser and
createUser = truebut didn't validate the new email - I called updateUser and
createUser = trueagain, and hit this error:
io.ktor.serialization.JsonConvertException: Illegal input: Fields [access_token, refresh_token, expires_in, token_type] are required for type with serial name 'io.github.jan.supabase.auth.user.UserSession', but they were missing at path: $, {sessionStatus=Authenticated(isNew=false, source=UserChanged(oldSession=UserSession(accessToken=[REDACTED], refreshToken=[REDACTED], providerRefreshToken=null, providerToken=null, expiresIn=3600, tokenType=bearer, user=UserInfo(appMetadata={"provider":"email","providers":["email"]}, aud=authenticated, confirmationSentAt=null, confirmedAt=2025-12-09T14:48:08.953535Z, createdAt=2025-12-09T14:45:56.637364Z, email=[REDACTED]@gmail.com, emailConfirmedAt=2025-12-09T14:48:08.953535Z, factors=[], id=b2eeda8e-d80d-448a-80f0-7e46a9bb5261, identities=[Identity(id=b2eeda8e-d80d-448a-80f0-7e46a9bb5261, identityData={"email":"[REDACTED]@gmail.com","email_verified":true,"phone_verified":false,"sub":"b2eeda8e-d80d-448a-80f0-7e46a9bb5261"}, identityId=aeeb2599-170a-45c7-beb0-59709d20e7a5, lastSignInAt=2025-12-09T14:48:08.947655Z, updatedAt=2025-12-09T14:48:08.955336Z, createdAt=2025-12-09T14:48:08.947709Z, provider=email, userId=b2eeda8e-d80d-448a-80f0-7e46a9bb5261)], lastSignInAt=2025-12-09T14:48:08.957206Z, phone=, role=authenticated, updatedAt=2025-12-09T14:51:08.240070Z, userMetadata={"email_verified":true,"is_otp":true,"signed_up_with_android":false,"supports_deeplink":true}, phoneChangeSentAt=null, newPhone=null, emailChangeSentAt=2025-12-09T14:51:07.847567053Z, newEmail=[REDACTED]@gmail.com, invitedAt=null, recoverySentAt=null, phoneConfirmedAt=null, actionLink=null), type=, expiresAt=2025-12-09T15:48:08.966332Z)), emptyAccessToken=false, type=, expiresIn=3600, userIsNull=false), sessionIsNull=false, userIsNull=false, caller=signInWithEmail}
Metadata
Metadata
Assignees
Labels
No labels