Back

User (role: guests) missing scope (account)

  • 0
  • Auth
  • Web
  • Storage
  • Cloud
Ambush
13 Nov, 2024, 15:03

Hello, kinda newbie here. I am getting the following errors while trying to create and sign up on my account. I can see the user being created on the appwire site but somehow I am unable to successfully log in. Any idea what may be wrong? I checked out the documentation but I didn't fully understand what I should change to my code. I can provide all the necessary files

TL;DR
Developers are facing an issue with missing scope 'account' for guests role. They shared code snippets and mentioned they are using React. The error occurs during the signup process. The user is unable to login even after creating an account. The developer is seeking guidance on what adjustments are needed in their code based on the provided configuration.
Kenny
13 Nov, 2024, 15:04

What framework are you using? What does your code look like?

Ambush
13 Nov, 2024, 15:07

I am using React and this is how a part of my code from the config.ts looks like

Kenny
13 Nov, 2024, 15:33

what does your login code look like

Ambush
13 Nov, 2024, 15:40

it should be this one, on the sign up form. If there is something else required let me know 😅

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more