Back

Hi i have a problem with the OAuth2 auth

  • 0
  • Flutter
Retr0
10 Jan, 2024, 18:20

I'm using Flutter and creating a Windows app and I'm having a problem with an error whose nature I don't understand and can't quite figure out if it's actually related to appwrite's OAuth2 authentication or a problem arising from the fact that I'm developing a Windows app

So my question to start with is: is OAuth2 available for Windows? because I can't find anything online

The error:

TL;DR
Developers are asking if they need to pass a parameter for OAuth2 authentication in a desktop app. They are also asking if OAuth2 is available for Windows. The error they are experiencing is not specified. Solution: The support thread does not provide a solution.
Drake
10 Jan, 2024, 18:24

did you use what was specified for the success url?

Retr0
10 Jan, 2024, 18:52

I think I have missed some steps at this point now I am sending the relevant part of the code and the configuration

Retr0
10 Jan, 2024, 18:52
Drake
10 Jan, 2024, 18:55

You did not pass the success URL:

account.createOAuth2Session(provider: provider);

Retr0
10 Jan, 2024, 18:58

Do I have to pass the paremeter even if I do not have a web app but only a desktop one?

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