I have implemented createOAuth2Session with gmail. The login and user creation is doing fine. But, when this user is trying to create a new account, I am getting this error. How to change the role of this user to admin or something who can create an account? Can I do it in console?
User (role: guests) missing scope (account)
Summary
The user is experiencing an issue where the browser may not be setting or sending the cookie. They mention using both the frontend and appwrite on localhost and ask why there is a custom domain problem. A suggested solution is provided in the form of a GitHub link that might help troubleshoot the issue. The user also mentions that they checked the current session and it is working. They have implemented createOAuth2Session with Gmail, and the login and user creation are successful. However, when this user tries to create a new account, they receive an error about changing the role of the user to admin or a user with the ability to create an account
shofol
Rank 1: Thread
Feb 16, 2023, 15:41
I checked the current session too and it's working
shofol
Rank 1: Thread
Feb 16, 2023, 15:41
@Moderator any help?
joeyouss
Feb 16, 2023, 15:56
Hi there 👋
joeyouss
Feb 16, 2023, 15:57
So, I think this error implies that the user session was not detected by Appwrite.