Skip to content

Conversation

@tomasAlabes
Copy link
Contributor

What kind of change does this PR introduce?

Feature: possibility to add "headless" metadata in email signup

What is the current behavior?

The only user metadata that can be added today is through extra text fields
But you can add data using the plain supabase.auth.signUp(data: ...) call

What is the new behavior?

One can add extra user metadata information that don't need to be exposed or chosen by the user.

Additional context

Example: a User type. If I show the signup form is in a "Player" screen, i want to pass type: "player" as metadata behind the scenes.

Copy link
Member

@dshukertjr dshukertjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this update! Thank you so much! I just left a small comment, but it looks really amazing!

Copy link
Member

@dshukertjr dshukertjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for this! This is amazing!

@dshukertjr dshukertjr merged commit cc55af1 into supabase-community:main Jan 17, 2024
@tomasAlabes
Copy link
Contributor Author

Thanks @dshukertjr, do you know when I could expect a new release? I want to use the new feature :)

@dshukertjr
Copy link
Member

Sorry, I was going to wait for #71, but it seems like might take some time, so let me publish a new version now!

@dshukertjr
Copy link
Member

v0.4.1 has been published!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants