FeatureFuel
5

[FEAT] Allow more fields when registering using /register endpoint

Source: directus/directus#25211 · opened by @SadmanYasar
Summary My Nextjs + Refine.dev + Directus project has been using the registerUser method that sends email verification link after user sign up which also sets default role set in Directus. But I cannot add more fields and only email, password, first name and last name. I need to add one more field to save when signing up. But it's not supported and I have to use createUser which doesn't automatically send email verification when creating the user and does not set default roles and sets the status to Active but when using register method it sets to Unverified which is what I want in the registration flow. Basic Example New code would be like this in SDK: In the [source]( code, the yup schema would need to be updated to support the custom fields. Motivation There is a big limitation when creating sign up with custom fields other than the accepted fields as it is not possible with /register endpoint. A lot of the features provided in this endpoint need to…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests