Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Not possible to specify redirectTo option for  #718

@mtte

Description

@mtte

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

It is not possible to specify the redirect_to URL when using supabase.auth.resend().

To Reproduce

Call supabase.auth.resend() and try to specify a redirect URL.

Expected behavior

The function allows to specify the redirect URL like it is possible for e.g. inviteUserByEmail().

Additional context

The backend (GoTrue) already supports specifying the redirect URL either via URL parameter (redirect_to) or using the referrer header. Only a simple limitation in the API exposed by gotrue-js.

Link to discussion: supabase/supabase#14884

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