[SOLVED] AppwriteException: User (role: guests) missing scope (account)
- 0
- Resolved
- Teams
- Accounts
- Web
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
- Error can not create `tablesdb` event wi...
When i'm trying to add an event with `tablesdb` i get an error message My event value: `tablesdb.mtg-decklist-dev.tables.queue_parsing.rows.*.create` Same err...
- GitHub Student Login Loop Issue
signed up using my GitHub Student Developer Pack. However, whenever I click "Sign in with GitHub", I get stuck on the login page. No matter how many times I try...
- Google OAuth Not Working on Brave/Firefo...
I'm having an issue with Google OAuth in my React + Appwrite app. After login, the dashboard is accessible only in Microsoft Edge, but fails in Brave and Firefo...