What's wrong with my user registration & confirmation


#1

hi all

i need to understand the user CONFIRMATION

I use open registation with email

so to do a user creation :

i do a POST to /api/v2/user/register
with

‘email’: email,
“first_name”: fistname,
“last_name”: nom,

the user receive en Email with confirmation code no problem here.

and now i want to confirm without the dsp confirmation page
so i build a page who do a post to /api/v2/user/register
with

‘email’: email,
“code”:code,
“new_password”:password

and i got an error that tell me that the email is already taken (like if i’m doing a create user)
is there any other way to do user confirmation?

thanks


How to confirm the registration and set initial Password
#2

ok just RTFM
http://wiki.dreamfactory.com/DreamFactory/Tutorials/Confirming_New_User

POST /api/v2/user/password
with
{
“code”: “confirm_code”
“email”: “user_email”,
“new_password”: “password”,
“verify_password”: “password”
}

if it could help someone…


#3

This was very helpful after almost spending a week on trying to find a solution to this.

Thanks very much