Currently (as of strapi v4.20.3) it is possible to pass custom properties like name, surname, etc. on register, but the SDK StrapiRegistrationData type only allows email, password & surname.
Why is it needed?
I want to register a user with extra parameters like their names & surname
Suggested solution(s)
allow extra parameters on the of the required email, password & surname to the register methods.
register({ email: '', password: '', username: '', extra: Record })
Feature request
Summary
Currently (as of strapi v4.20.3) it is possible to pass custom properties like name, surname, etc. on register, but the SDK
StrapiRegistrationData
type only allows email, password & surname.Why is it needed?
I want to register a user with extra parameters like their names & surname
Suggested solution(s)
allow extra parameters on the of the required email, password & surname to the
register
methods.register({ email: '', password: '', username: '', extra: Record })