Creation of a link for the first access of a new user without give the user a password and forcing
This post could be useful if you want to give to a user a link for access your portal, without the need of a password, and then force him to create a password at his fist login. You can, for example, send an email after the sign up with a link that allows the user change its password.
Steps:
Create your user
Define the parameter:
PLATFORM_BASE_URL (you can find it in 4WS.Platform), in this case: http://testing.sinesy.it/platformpicktour/ Note: this parameter is also needed for the forgotten password function.
Create you link in this way:
Notes:
The following parameters specified in the function must be the new user ones
APPLICATION_ID
COMPANY_ID,
SITE_ID
USER_ID
PASSWORD
APP_TITLE
In this case a temporary password for the user was manually generated and sent by email.
Last updated