appwrite: 🐛 Bug Report: Cannot obtain access token with Google provider after successful login

👟 Reproduction steps

When i try to use a OAuth2 login with google im getting some error on the redirect after successful login to google that the access token cannot be obtained.

👍 Expected behavior

it should redirect me to the success URL provided in the createOAuth2Session function

👎 Actual Behavior

it shows error on the redirect saying the access token could not be obtained (there is a token on the redirect response but the field is called code)

🎲 Appwrite version

Version 1.1.x

💻 Operating system

MacOS

🧱 Your Environment

No response

👀 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?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (8 by maintainers)

Most upvoted comments

I am developing flutter mobile application. I am not able to accessToken after successful google oauth login as it is returning null value