I am creating a Blazor WASM client to work with Appwrite Cloud, and since to my knowledge there is no Blazor SDK I have been working with wrapping the REST API as I need. I have the login and logout system working with a dummy account created in the Appwrite Dashboard. Though when attempting to create a new user within the Blazor app I keep receiving the following 401 message back.
{
"message": "User (role: guests) missing scope (account)",
"code": 401,
"type": "general\_unauthorized\_scope",
"version": "1.6.0"
}
I have verified that all previous sessions have been cleared, even checking cookies and local storage, before attempting to create a new user. The issue still clings on though. The C# code is rather simple, and can be seen below. Is there something else I am missing in trying to get user creation to function properly? Thank you in advance for any insight!
Recommended threads
- Invalid Origin. Register your new client...
- CreateTables enum
What's the correct way of creating an enum column with the new definition of createTable?
- How to handle ghost accounts created by ...
Appwrite create the account with the email and send an invitation link with a secret. I am able to accept the invitation and add the account as a member on the ...