I have been trying to authenticate the user with an email session but I am getting this error ehen a user is trying to sign up.
I just tried to add email verification logic and this bug came up
Someone help me with this issue
In what part of your code you're facing the error?
As of now I've added router.push('/login') to redirect after a user sign up. Just done this to hide the bug
But it should be there as I want to do email verification when a user sign up
then get access to other pages
So, I put the verification logic there and tried to sign up as a new user but it showed up this error and didn't send any email for verification or anything to me other than the error along with signed up successfully message
First, I don't want this error to show up and second I want to send the email verification
I see.
I think, that in the middle of the process you'll need to use the account.get()
in between
To create the user session before moving to other user actions.
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...