Skip to content

LinkIdentity does not work #1173

Open
Open
@heeween

Description

@heeween

Describe the bug
Email login and anonymous login, when manually linking a Google account, will redirect to the Google interface, then back to the default official website, and there are no further prompts. After returning, the link was not successful; requesting getUserIdentities still only shows one identity.

Flutter Supabase Link google account demo: https://github.com/heeween/supabase_demo
Video record: https://youtube.com/shorts/C-lvz1YR-vg?feature=share

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'home page'
  2. Click on 'sign in with Email'
  3. Click on 'Link With Google'
  4. back to home page, the provider stil is only one.

Expected behavior
After call the linkIdentity(OAuthProvider.google), it should link the google account

Screenshots
I have one screen vieo record.

Version (please complete the following information):
supabase:
dependency: transitive
description:
name: supabase
sha256: f00172f5f0b2148ea1c573f52862d50cacb6f353f579f741fa35e51704845958
url: "https://pub.dev"
source: hosted
version: "2.7.0"
supabase_flutter:
dependency: "direct main"
description:
name: supabase_flutter
sha256: d88eccf9e46e57129725a08e72a3109b6f780921fdc27fe3d7669a11ae80906b
url: "https://pub.dev"
source: hosted
version: "2.9.0"

Additional context
no more context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions