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 | |
| uid | Required | Integer up to 11 characters. The id of the user. | |
| secret1 | Required> | String up to a 100 characters. This is the secret provided | |
| secret2 | Required> | String up to a 100 characters. This is the secret2 provided | |
| redirectUrl | Required. | String up to 100 characters. The url to redirect the user to once the unlink action is complete. |
