Linux 软件免费装

Twelve Legs Marketing SSO

开发者 jeremyjsimmons
更新时间 2025年10月22日 22:34
PHP版本: 8.0 及以上
WordPress版本: 6.8.4
版权: GPLv2 or later
版权网址: 版权信息

标签

login authentication sso jwt single-sign-on

下载

1.0 1.0.1 1.0.2

详情介绍:

TWL SSO is a secure single sign-on plugin for WordPress that enables seamless authentication using RS256 JWT tokens from an external SSO application. This plugin provides login security features and is designed for allowing Twelve Legs Marketing centralized authentication management. Key Features Security Features Use Cases

安装:

  1. Upload the plugin files to the /wp-content/plugins/twelve-legs-marketing-sso/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
Manual Installation
  1. Download the plugin files
  2. Extract the files to your /wp-content/plugins/twelve-legs-marketing-sso/ directory

升级注意事项:

1.0 Initial release of TWL SSO plugin with full JWT authentication support.

常见问题:

How does this plugin work?

The plugin intercepts login requests with a special action parameter and JWT token. It validates the JWT signature using public keys from a JWKS endpoint, extracts user information from the token claims, and creates or updates the WordPress user accordingly.

What JWT algorithm does this plugin support?

This plugin supports RS256 (RSA with SHA-256) JWT signatures only. This provides strong security through public key cryptography.

Can I use this with any SSO provider?

The plugin is designed to work with any SSO provider that can issue RS256 JWTs and provide a JWKS endpoint. You'll need to configure your SSO provider to issue tokens with the correct audience and claims.

How do I configure the allowed issuers?

The plugin automatically configures allowed issuers based on the WordPress environment. In production, only https://sso.twelvelegsmarketing.com is allowed. In development/staging, https://localhost:8443 is also allowed.

What happens if a user doesn't exist?

The plugin will automatically create a new WordPress user with the information from the JWT claims. The username is generated from the email address, and a random password is assigned.

How are user roles assigned?

User roles can be assigned in two ways:

  1. Through the wp_role claim in the JWT token
  2. Using the WordPress default role if no role is specified in the token

Is this plugin secure?

Yes, the plugin implements multiple security layers including JWT signature verification, referrer validation, issuer validation, audience validation, and token expiration checking.

更新日志:

1.0.2 1.0.1 1.0