Linux 软件免费装
Banner图

WP Login and Register using JWT

开发者 cyberlord92
更新时间 2024年1月15日 16:12
PHP版本: 5.6 及以上
WordPress版本: 6.4
版权: MIT/Expat
版权网址: 版权信息

标签

login api sso register jwt rest api oauth single sign-on wp login json web token jwt authentication jwt login

下载

2.4.0 2.7.0 2.1.1 1.0.0 2.6.0 2.1.2 2.2.0 2.3.0 2.5.0

详情介绍:

The WordPress Login and Register using JWT plugin allows you to log in (Single Sign-On) into your WordPress application using the JWT token(JSON Web token) obtained from any other WordPress site or other applications/platforms including mobile applications. This helps users perform autologin to WordPress and synchronize user sessions without the need to log in again. | Features | WordPress JWT Login Setup Guide | Videos | WORDPRESS SINGLE SIGN-ON / SSO ( LOGIN INTO WORDPRESS ) WordPress Single Sign-On SSO also simply called WordPress SSO allows you to login into WordPress using the credentials of other platforms. So, the user will just use a single set of credentials to log in to multiple applications. WordPress Single Sign-On / SSO using JWT(JSON Web Token) WordPress Single Sign-On (SSO) with JWT allows you to log into the WordPress site using the user-based JWT token obtained externally when the user authenticates for the first time in any connected external application. The JWT token authentication is the most popular way of authentication nowadays as it is a secure and lightweight protocol. The JWT token can be obtained either when a user logs into other platforms via OAuth/OpenID Connect protocol or can be created explicitly using the user information and secure algorithms. With this plugin, you can easily use the user-based JWT token to log a user in rather than asking them to authenticate again. Let's take an example - If you have a WordPress site and mobile app, now if you are logged into the mobile app, now if you try to access the WordPress site, then to access the particular content, the WordPress site will ask for login again and which is not feasible, so with the JWT SSO (JWT Single Sign-On), you can create the JWT token for the user who is already logged into the mobile app and then on accessing the WordPress site, you can pass that JWT token in the request, using which the same user can authenticate and autologin to the WordPress site and hence won't need to enter the credentials again. It supports possibly all kinds of JWT tokens (access-token/id-token) obtained from OAuth/OpenID Connect providers like AWS Cognito, Microsoft Azure AD, Azure B2C, Okta, Keycloak, ADFS, Google, Facebook, Apple, Discord and popular applications like Firebase. WordPress login using the JWT also called JWT SSO (Single Sign-On) can be done from other platforms and applications including mobile apps (android or IOS), an app built with other programming languages like .NET, JAVA, PHP, JS etc.

安装:

This section describes how to install the WP JWT Login and Register plugin and get it working. From your WordPress dashboard
  1. Visit Plugins > Add New
  2. Search for JWT Login. Find and Install the WP JWT Login and Register plugin by miniOrange
  3. Activate the plugin
From WordPress.org
  1. Download WP JWT Login and Register.
  2. Unzip and upload the wp-jwt-login directory to your /wp-content/plugins/ directory.
  3. Activate WP JWT Login and Register from your Plugins page.

屏幕截图:

  • JWT Login settings
  • Create JWT settings
  • Register for JWT settings
  • Delete users with JWT settings

升级注意事项:

1.0.0
  • First release of the plugin
  • Compatibility with WordPress 5.8

常见问题:

What is the login using JWT or JWT login?

JWT(JSON Web token) login allows you to login into any platform like WordPress using the user-based JWT token rather than passing the actual login credentials. Also, it is a highly secure way to log in as the JWT which consists of user information is signed using highly secure HSA and RSA algorithms.

What is JWT SSO (JWT Single Sign-On)?

JWT SSO(Single Sign-On) or SSO using JWT token allows the user to log in to any platform using one set of credentials and then JWT formed from the logged-in user details can be used to login automatically to other platforms and does not require to enter the credentials again.

Does this plugin allow auto login users in WordPress from mobile applications

Yes, this plugin provides the feature to auto-login users in WordPress sites from mobile applications and also other applications built on Java, React, Node JS, Angular, C#, PHP etc frameworks. using the JWT token. Moreover, this plugin provides other features to redirect the user to some other URLs on login as well.

Does this plugin allow WordPress user registration and deletion of the REST API endpoint?

Yes, the plugin provides both the user registration endpoint (wp-json/api/v1/mo-jwt-register) as well as deletion API (wp-json/api/v1/delete).

Can sessions across multiple applications be synchronized using this plugin?

This plugin provides the feature in which if multiple applications share the same subdomain with WordPress and if you are logged into one platform then accessing any of the other platforms will log in the user automatically without the need to authenticate again.

Does this plugin provides session sharing for WordPress site opened in the web view of a mobile application?

Yes, that would be possible to achieve with the plugin, so if a user logs into the mobile app and then clicks on the WordPress site URL link, that WordPress page will be opened in the webview and the plugin will help in establishing the session sharing in the webview such that user won't be required to log in again and can access the WordPress page seamlessly.

I am using AWS Cognito to log in user to my site built using react and want to achieve auto-login in WordPress when the user accesses the WordPress site using an existing AWS Cognito session

Yes, our plugin's SSO Login using the JWT feature can be used to share the AWS Cognito user session between the WordPress and React apps using JWT.

更新日志:

2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.2 2.1.1 1.0.0