Skip to content

Hosted Auth returns 200 for the first-password email identity flag without enabling it #2954

Backlog

Description

@Red-Asuka

Hosted behavior

We want a user who signed up with OAuth to see an email identity after setting their first password. This is a hosted configuration follow-up to #2085. Supabase Auth shipped the implementation in v2.196.0, and v2.198.0 still gates it on GOTRUE_EXPERIMENTAL_CREATE_EMAIL_IDENTITY_ON_PASSWORD_SET_ENABLED, which defaults to false. Release notes · Flag definition

On November 24, 2026, GET /auth/v1/health reported v2.198.0 on our hosted test project. GET /v1/projects/{ref}/config/auth omitted the flag. We sent the following body to PATCH /v1/projects/{ref}/config/auth. Management API reference

{ "experimental_create_email_identity_on_password_set_enabled": true }

The API returned HTTP 200. The response omitted the field, and reading the configuration again returned exactly the same values. A non-boolean value for the same field also returned 200.

First-password test

We used a fresh, signed-in test user for each run. Each had a confirmed email address, no password, and only a phone identity. Both were non-SSO, non-anonymous users. This exercises the same first-password check as an OAuth user with a verified email. Identity creation logic

Hosted project state PUT /auth/v1/user with a first password Number of email identities afterward
Before the configuration request Password saved 0
Two minutes after sending true Password saved 0

We verified both results with a fresh GET /auth/v1/user and a count from auth.identities.

Is there a supported Dashboard or Management API setting for hosted projects to enable this behavior today, or can Supabase Support opt a project in? If this is still awaiting a platform rollout, could the hosted Auth documentation make that clear? An HTTP 200 gives project owners no indication that the setting had no effect.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions