Skip to content
  • Log In
  • Register
WordPress.org

English (South Africa)

  • Themes
  • Plugins
  • About
  • Get Involved
  • Get WordPress
Get WordPress

Plugins

  • My Favorites
  • Beta Testing
  • Developers
Download

Simple JWT Login MailPoet- Login users from newsletter

By Nicu Micle
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

This plugin is an Add-on for Simple-Jwt-Login. It allows you to automatically login users from the newsletter sent by MailPoet into a WordPress website using a JWT.

Simple shortcode example:

`
[custom:simple-jwt-login]
`

This shortcode will generate a link, with the text “Login”

Available shortcode parameters:
– text : The text for the link
– class: Class added for the link
– style: Custom CSS added to the link
– validity: The number of seconds a JWT is valid
– 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.
– isURL: When this parameter is provided, the shortcode will return only the autologin URL

Full short code example:

`
[custom:simple-jwt-login text="Login" class="myClassName" style="color:red;" validity="604800" authCode="1"]
`

This example will generate a red link, with the text “Login”.

Screenshots

  • Short code generator
  • Email template shortcode example
  • Email template preview

Installation

Here’s how you install and activate the JWT-login plugin:

  1. Download the Simple-JWT-login-MailPoet plugin.
  2. Upload the .zip file in your WordPress plugin directory.
  3. Activate the plugin from the “Plugins” menu in WordPress.

or

  1. Go to the ‘Plugins’ menu in WordPress and click ‘Add New’
  2. Search for ‘Simple-JWT-Login-MailPoet’ and select ‘Install Now’
  3. Activate the plugin when prompted

Next steps:
In The “Simple JWT Login” tab, there will be a new submenu item “MailPoet integration”. Generate your shortcode there and copy it into your newsletter templates.

FAQ

Is the Auth Code required?

No, it is not required. You can disable it from the Simple-JWT-Login -> ‘Login’. Just set the parameter ‘Login requires Auth Code’ to ‘No’.

Does this plugin works with MailPoet 2?

No. This plugin works only with MailPoet 3. MailPoet 2 is deprecated.

Can I add multiple short-codes in a single newsletter?

Yes. You can add as many short-codes as you want in a single email template.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Simple JWT Login MailPoet- Login users from newsletter” is open source software. The following people have contributed to this plugin.

Contributors
  • nicu_m

“Simple JWT Login MailPoet- Login users from newsletter” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “Simple JWT Login MailPoet- Login users from newsletter” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log

0.1.1 ( 26 Apr 2022)

  • Add a new parameter to allow the display of only the URL

0.1.0 ( 06 Apr 2022)

  • Initial release

Meta

  • Version: 0.1.1
  • Last updated: 11 months ago
  • Active installations: Fewer than 10
  • WordPress Version: 4.4.0 or higher
  • Tested up to WordPress Version: 5.9.5
  • PHP Version: 5.3 or higher
  • Languages:

    Dutch, Dutch (Belgium), English (US), and Romanian.

    Translate into your language

  • Tags:
    apiauto loginjwtresttokens
  • Advanced View

Ratings

This plugin has not been rated yet.

Log in to submit a review.

Contributors

  • nicu_m

Support

Issues resolved in last two months:

1 out of 1

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

English (South Africa)

  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry