Skip to content

addFcmToken returns unauthenticated #6886

@GinnyVR

Description

@GinnyVR

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Error while trying to login:
addFcmTokenCode: unauthenticated
Details: null
addFcmTokenCode: unauthenticated
Message: UNAUTHENTICATED
Details: null
Message: UNAUTHENTICATED

I have gone through all possible solutions and guides for this. The fcm_tokens are not created as a user subcollection. Login works. It seems that the addFcmToken runs before user is authenticated during the Auth Login action.

Expected Behavior

Auth login -> fcm_token added to user subcollection

Steps to Reproduce

  1. setup auth
  2. enable push notifications
  3. fcm_token generated

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

ITFXicjfw49IssBE1qXcLcJF9ScwFjMMbY0v0u0bFB4jIpDyEZlzdcj4YUNKTMefYAhpPlGboHsdpuzJvtnfDfcFB0urY6I/0JVASzrvf3GuaaasO7qKQX9DEd1UGUi5yqSo3REkLtZqR1IX7E6HNa3qNleeY8aSfxBlZ7vfcPo=

Visual documentation

No visual doc needed

Environment

- FlutterFlow version: Version 6.5.3 (6.5.3)
- Platform: macOS
- Browser name and version: chrome
- Operating system and version affected: MacOS

Additional Information

Please, i have tried everything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triageA potential issue that has not been confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions