Back

I'm not getting the accesstoken from Oauth after successful authentication.

  • 0
  • Flutter
  • Accounts
Nevish302
13 Jun, 2023, 12:37

Can anyone help? Here's the code. It's in Flutter

TL;DR
The user is having trouble getting the access token from OAuth after successful authentication. They are requesting help and providing their code in Flutter. The solution may involve checking the `createOAuth2Session` function and adding success and failure URLs for web-applications. Additional information and resources have been shared in the support thread.
Binyamin
13 Jun, 2023, 12:54

In summary the createOAuth2Session function doesn't return anything it just start the OAuth2 login redirect process with needed values.

Binyamin
13 Jun, 2023, 12:55

Also, if it's a web-app you'll need to add success and failure URLs like in here: https://discord.com/channels/564160730845151244/1114222859166949499/1115653351208652914

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