Start a new topic

Sign up with email and username

Hi, 

Im trying to have my users sign up with username and email, and have Kinvey check if they are unique. The sign up with username works but when I enforce the email and my user settings, is says that I am missing the email parameter in my request. Here is the code i have in Swift sending the Signup request. 


{

 CustomUser.activeUser().email = "my@email.com"

 CustomUser.signup(username: username, password: password, client: Kinvey.sharedClient, completionHandler:handleSignUpResponse())

}


I though this might work since I have the email set but this is not the case. How can I send the email parameter with the signup request?


Thank


Terrick,

Please take a look at following link:
http://devcenter.kinvey.com/ios/guides/users#SignupwithAttributes

Thanks,
Pranav
Kinvey Support

 

Where are the additional field? I only see username and password. 

Terrick,

Can you share your custom user class?

Thanks,
Pranav
Kinvey Support

 

Login or Signup to post a comment