Company | Newzulu Platform | Developer

Developer Template Documentation v4.12.2.47

Login and redirect


Login and redirect

/action/v2/loginandredirect

Logs the user in and then redirects them to the url provided

Example 1

<a href="/action/v2/loginandredirect?uid={$$userid}&secret1={$$secret1}&secret2={$$secret2}&redirectUrl=/userprofile" target="_new"> Click to view your user profile </a>

Supported params

Name Required Description
uidRequiredInteger up to 11 characters. The id of the user.
secret1Required>String up to a 100 characters. This is the secret provided
secret2Required>String up to a 100 characters. This is the secret2 provided
redirectUrlRequired.String up to 100 characters. The url to redirect the user to once the unlink action is complete.
<< 3.4.15 Logout 3.4.17 Lost password >>