Linux 软件免费装

AH JWT Auth

开发者 andrewheberle
更新时间 2023年12月21日 12:35
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 6.3.2
版权: GPLv3 or later
版权网址: 版权信息

标签

login authentication sso jwt auth

下载

1.0.3 1.3.1 1.3.0 1.1.0 1.2.0 1.2.1 1.2.2 1.4.0 1.4.1 1.5.1 1.5.0 1.5.2 1.5.3

详情介绍:

This plugin allows sign in to WordPress using a JSON Web Token (JWT) contained in a HTTP Header that is added by a reverse proxy that sits in front of your WordPress deployment. Authentication and optionally role assignment is handled by claims contained in the JWT. Verification of the JWT is handled by either: During the login process if the user does not exist an account will be created with a matching role from the JWT. If the JWT did not contain a role claim then user is created with the role set in the plugin settings (by default this is the subscriber role).

升级注意事项:

1.0.3 Initial public release 1.0.2 Internationalisation for strings 1.0.1 Better handling or errors.

常见问题:

What header is the JWT retrieved from?

By default the plugin looks for the JWT in the Authorization header as follows: Authorization: Bearer However the token may be retrieved from a configurable HTTP header, for example integration with Cloudflare Access would use the Cf-Access-Jwt-Assertion header.

What should the JWT contain?

The JWT must contain at least an email claim and may also contain a role claim: { "email": "admin@example.com", "role": "admin" }

What signature algorimths are supported to verify the JWT?

Currently only the HS256 and RS256 alorithms are supported.

更新日志:

1.5.3 1.5.1 1.5.0 1.4.1 1.3.1 1.3.0 1.2.2 1.2.1 1.2.0 1.1.0 1.0.3 1.0.2 1.0.1 1.0.0