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

fix-flutter-oauth2-under-windows #592

Merged

Conversation

Mabenan
Copy link

@Mabenan Mabenan commented Nov 17, 2022

What does this PR do?

It fixes the broken createOAuth2Session under windows in the flutter sdk. This is discussed in detail here appwrite/sdk-for-flutter#96.

Test Plan

Create a minimal APP with the flutter SDK and try to sign in with OAuth2.
The success URL must look something like this
http://localhost:{free_windows_port}/v1/auth/oauth2/success

Related PRs and Issues

96

Have you read the Contributing Guidelines on issues?

YES

Copy link
Member

@lohanidamodar lohanidamodar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mabenan you confirm that this resolves the issue? I like the approach, it doesn’t modify the external facing API. Looks good.

@lohanidamodar lohanidamodar requested review from codercatdev, wess and stnguyen90 and removed request for wess and codercatdev November 22, 2022 06:34
@Mabenan
Copy link
Author

Mabenan commented Nov 22, 2022

@Mabenan you confirm that this resolves the issue? I like the approach, it doesn’t modify the external facing API. Looks good.

I've tested it and it looks good

@stnguyen90 stnguyen90 linked an issue Nov 23, 2022 that may be closed by this pull request
2 tasks
Copy link
Contributor

@stnguyen90 stnguyen90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm oauth still works with:

  1. android
  2. ios
  3. web
  4. macos

I can't test on windows, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Bug Report: OAuth2 under Windows
4 participants