Hi, in my app the user goes through a sign-up page where data is given to Appwrite (see attached for signUp function). Here I am creating a magic URL and userID which I pass to a callback during another session with a 3rd party provider. From this callback I want to restore that session with the userId and the Token. But unfortunately this is not possible as I am apparently missing the user roles: "Error restoring session: AppwriteException: User (role: guests) missing scope (account) "
TL;DR
Developers need help restoring a session from MagicURLToken created during sign-up. Even though they pass the correct userId and Token to a callback, they are encountering an error due to missing user roles. The error message indicates that the user is missing the 'account' scope. This prevents the session from being restored successfully. To resolve this issue, the developers should ensure that the user roles include the necessary 'account' scope to restore the session.Recommended threads