79572856

Date: 2025-04-14 10:05:21
Score: 0.5
Natty:
Report link

enter image description hereHere's how to create a proper auto-linking flow:

  1. Create a brand new flow instead of modifying the existing one:

    • Go to Authentication > Flows

    • Click "Create" and name it "Auto Link Identity Provider Flow" (or similar)

    • Click "Save"

  2. Add only these two authenticators in this exact order:

    • First, add "Detect Existing Broker User"

      • Set requirement to "REQUIRED"
    • Second, add "Automatically Set Existing User"

      • Set requirement to "REQUIRED"
  3. Keep the flow simple - do not add any other authenticators or subflows

  4. Configure your Google/Gmail identity provider:

    • Go to Identity Providers

    • Select your Google provider

    • Change "First Login Flow" to your new flow

    • Set "Sync Mode" to "force" if you want profile updates

    • Save changes

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ayodeji Erinfolami