MailPoet
The MailPoet add-on allows you to automatically login users from the newsletter sent by MailPoet into a WordPress website using a JWT.
This add-on will generate short codes that can be used in your MailPoet templates.
Short Code parameters
- text : The text for the link
- class: Class added for the link
- style: Custom CSS added to the link
- validity: The Valability of the JWT. Default value is one week
- authCode: Auth Code that is required by Autologin. You will find this in Simple-JWT-Login plugin -> Auth Codes
- redirectUrl: This URL will overwrite the SimpleJWTLogin settings, and it will specify where users will be redirected after autologin.
[custom:simple-jwt-login text="Login" class="myClassName" style="color:red;" validity="604800" authCode="1" redirectUrl="https://simplejwtlogin.com"]
Installation
- Download the add-on from https://wordpress.org/plugins/simple-jwt-login-mailpoet/
- Activate the plugin
- Generate a short-code
- Insert the shortcode in your email templates