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

[firebase_auth]: Authentication redirection from the browser fails due to taskAffinity configuration #6403

Open
rohitsangwan01 opened this issue Oct 23, 2024 · 2 comments

Comments

@rohitsangwan01
Copy link

[READ] Step 1: Are you in the right place?

Issues filed here should be about bugs in the code in this repository.
If you have a general question, need help debugging, or fall into some
other category use one of these other channels:

  • For general technical questions, post a question on StackOverflow
    with the firebase tag.
  • For general Firebase discussion, use the firebase-talk
    google group.
  • For help troubleshooting your application that does not fall under one
    of the above categories, reach out to the personalized
    Firebase support channel.

[REQUIRED] Step 2: Describe your environment

  • Android Studio version: Ladybug
  • Firebase Component: Auth
  • Component version: _____

[REQUIRED] Step 3: Describe the problem

After authenticating the Android app using AppleAuthProvider, the app does not return from the browser due to the taskAffinity configuration. Removing taskAffinity resolves the issue.

Steps to reproduce:

When attempting to authenticate with AppleAuthProvider, the app does not redirect back after a successful login

Relevant Code:

<activity
    android:name=".MainActivity"
    android:exported="true"
    android:launchMode="singleTop"
    android:taskAffinity="" 
@google-oss-bot
Copy link
Contributor

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@lehcar09
Copy link
Contributor

Hi @rohitsangwan01, thank you for reaching out and reporting the issue. I was able to reproduce the behavior your raised. Let me raise this to our engineers and see what we can do here. Thanks!

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

No branches or pull requests

3 participants