Back

Callback error based on GitHub authorization

  • 0
  • Accounts
joser
13 Nov, 2023, 00:56

I was able to successfully use localhost authorization callback locally, but after publishing flutter web to github page, authorization prompts the following error

{"message":"User (role: guests) missing scope (account)","code":401,"type":"general_unauthorized_scope","version":"0.11.27"}

TL;DR
The user is experiencing a callback error related to GitHub authorization. The issue is likely caused by 3rd party cookies. The solution is to search for similar posts for guidance. Additionally, the user tried OAuth for authorization and it worked locally, but encountered an error after publishing to a GitHub page. The error message states that the user is missing a scope, causing a 401 unauthorized error.
Drake
13 Nov, 2023, 01:22

So you're authenticating using oauth?

joser
13 Nov, 2023, 06:15

Yes, I tried OAuth as mentioned in the documentation for authorization.

Drake
13 Nov, 2023, 16:16

The problem is most likely with 3rd party cookies. You can search for similar posts regarding this

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