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

doc: social logins signups redirect loop on android when android:taskAffinity="" #60

Closed
wildsylvan opened this issue Jul 12, 2024 · 2 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@wildsylvan
Copy link

wildsylvan commented Jul 12, 2024

when creating a new flutter app, the default template puts android:taskAffinity="" in android\app\src\main\AndroidManifest.xml and that makes registering a user through social login (e.g. google) not work correctly. basically the account is registered successfully in logto but logto doesn't redirect to the app, instead loops back to the google sign up screen:

image

image

image

image

image

(here the user is correctly registered in logto but then logto redirects to the google sign up confirmation again)

image

removing android:taskAffinity="" fixes the issue

@wildsylvan wildsylvan added the bug Something isn't working label Jul 12, 2024
@wildsylvan
Copy link
Author

wildsylvan commented Jul 12, 2024

see: flutter/flutter#63559

@simeng-li simeng-li self-assigned this Sep 13, 2024
@simeng-li simeng-li added the documentation Improvements or additions to documentation label Jan 21, 2025
@simeng-li
Copy link
Contributor

#76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Development

No branches or pull requests

2 participants