| 开发者 | andrewheberle |
|---|---|
| 更新时间 | 2026年6月25日 14:22 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 6.9.4 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
aud claim against the expected OAuth2 application audience value.
Verification of the JWT is handled by either:
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.
The JWT must contain at least an email claim and may also contain a role claim:
{
"email": "admin@example.com",
"aud": "example-oauth-client-id",
"role": "admin"
}
The aud claim is only required when a JWT Audience value has been configured in the plugin settings.
Currently only the HS256 and RS256 alorithms are supported.