Hi,
we are currently trying to leverage the API to build a more flexible and fitting Auth workflow for our needs.
We are already successful by creating an user and registering all the necessary applications with the necessary roles to the user.
However, we would like to try and send an e-mail to the user for setting up the password which can be different from the one we set up in the Application configuration.
Initially we thought the send-email API would be enough. But we stumble on the following problem:
- It is necessary to have a setPasswordID and it seems that there is no way of setting up this id.
- On the default example email template provided by FusionAuth the placeholder says
http://localhost:9011/password/change/${changePasswordId}?tenantId=${user.tenantId}
which has "changePasswordId" instead of setPasswordId. Is this a typo or should I use the changePasswordId?
-I am not sure if changePasswordId is the same as setPasswordId since they have different timeout configurations.
Can anyone tell me if there is a way of generating such an ID? We want to be able to send different templates depending on the user and that is the only way I saw without creating different Applications or Tenants (which I def. wouldn't do)
I am very greatful for any help and/or explanations!
Best regards,
Frank