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.
Comments
Similar requests
Add Fields Exclusion in Rest API
3 votes · 0 comments
Accordions and Detail group nested fields
2 votes · 0 comments
Set Item Duplication Fields automatically
26 votes · 0 comments
Allow editing on the system fields
50 votes · 0 comments
An option to add fields into relevant groups without dragging them.
8 votes · 0 comments
No comments yet.