API endpoint to send activation email without activating the user

#1

Hello,

Not sure if it is a bug or a bad design but at the moment the endpoint /api/v1/users/{userId}/lifecycle/activate?sendEmail=true is activating the user beforehand making the activation email useless

I can see 2 options

  1. Create another endpoint just to send the activation email without activating the user.

  2. Create a new state in users, so you can’t login when user is active but not verified, being verified the final state of the user when they can do everything

#2

yeah, I have the same issue

#3

Any suggestions or any help here, Thanks?

#4

OK, so apparently the issue here is that I am setting the password at the registration, if I remove the password the activate endpoint does not activate the user.

That will force us to create another page asking the user to set its password