Skip to content

Improve docs for the "updateUser" API, specially when updating a user's email. #2381

Closed

Description

@pablocubico

Improve documentation

Link

https://supabase.io/docs/gotrue/client/api-updateuser

Describe the problem

The docs don't explain the flow for updating a user's email (e.g.: the "Confirm Email Change" flow).

Describe the improvement

I added notes to the updateUser part of the GoTrue docs, as the one present in the resetPasswordForEmail.

Additional context

I created a PR here:
#2380

(Sorry, I read the contributing guidelines after creating the PR!).

I found this related discussion: #1763

Activity

  1. added
    documentation
    on Jul 15, 2021
  2. kiwicopple commented on Jul 16, 2021

    @kiwicopple
    Member

    THanks for the PR @pablocubico !

    I think we should also add this as an example on this page: https://supabase.io/docs/reference/javascript/auth-update

    (we need to update supabase.yml)

    So I'll leave this open until we add the example

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

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions