Skip to content

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

Open
@rohitsangwan01

Description

@rohitsangwan01

[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="" 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions