Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Google auth Appwriteexception: user (role: guests) missing scope #7875

Open
2 tasks done
kamit-transient opened this issue Mar 28, 2024 · 5 comments
Open
2 tasks done
Labels
bug Something isn't working question Further information is requested stale

Comments

@kamit-transient
Copy link

👟 Reproduction steps

I am following the official docs to create a google OAuth login flow using the AppWrite 1.5.4 version.

once the user is logged in using google sign-in page, the flow redirects to appwrite's callback URL with token etc and it remains there and throws there is error: AppwriteException: User (role: guests) missing scope (account)

👍 Expected behavior

It should do below:

  1. Allow login using google
  2. should redirect back the front-end client
  3. It should create the browser session on client side.

👎 Actual Behavior

once the user is logged in using Google sign-in page, the flow redirects to appwrite's callback URL with token, etc and it remains there and throws there is error: AppwriteException: User (role: guests) missing scope (account)

🎲 Appwrite version

Version 1.5.x

💻 Operating system

Linux

🧱 Your Environment

Appwrite version: 1.5.4
front-end: Next.Js

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@kamit-transient kamit-transient added the bug Something isn't working label Mar 28, 2024
@kamit-transient kamit-transient changed the title 🐛 Bug Report: Google auth ppwriteexception: user (role: guests) missing 🐛 Bug Report: Google auth Appwriteexception: user (role: guests) missing Mar 28, 2024
@kamit-transient kamit-transient changed the title 🐛 Bug Report: Google auth Appwriteexception: user (role: guests) missing 🐛 Bug Report: Google auth Appwriteexception: user (role: guests) missing scope Mar 28, 2024
@nimakarimi97
Copy link

I have the same issue as well.

[unhandledRejection] User (role: guests) missing scope (account)

@gepd
Copy link
Contributor

gepd commented May 8, 2024

Are you trying to do a SSR call?

@kamit-transient
Copy link
Author

kamit-transient commented May 8, 2024

no. Its normal client-side call in next.js app

@gepd
Copy link
Contributor

gepd commented May 8, 2024

Can you create a new topic in discord? I don't think this is a bug, but it's easier and faster to check in discord

@stnguyen90 stnguyen90 added the question Further information is requested label Aug 2, 2024
Copy link

This issue has been labeled as a 'question', indicating that it requires additional information from the requestor. It has been inactive for 7 days. If no further activity occurs, this issue will be closed in 14 days.

@github-actions github-actions bot added the stale label Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

4 participants