幻想世界轻小说的OpenIDConnect登录插件(异世界百科用户中心专用)
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
cswebservice 54f3ff4193 allow developers to use the plain auth url by shortcode (#98)
* allow developers to use the plain auth url by shortcode

* prevent to set the redirect cookie on every page request by moving the function call to the formular rendering.
6 years ago
includes allow developers to use the plain auth url by shortcode (#98) 6 years ago
changelog.md version update along with readmes. new composer.json to place on packagist 7 years ago
composer.json nvm, wp.org can have it's own folder name 7 years ago
openid-connect-generic.php allow developers to use the plain auth url by shortcode (#98) 6 years ago
readme.md nvm, wp.org can have it's own folder name 7 years ago
readme.txt version update along with readmes. new composer.json to place on packagist 7 years ago

readme.md

OpenID Connect Generic Client

License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

A simple client that provides SSO or opt-in authentication against a generic OAuth2 Server implementation.

Description

This plugin allows to authenticate users against OpenID Connect OAuth2 API with Authorization Code Flow. Once installed, it can be configured to automatically authenticate users (SSO), or provide a "Login with OpenID Connect" button on the login form. After consent has been obtained, an existing user is automatically logged into WordPress, while new users are created in WordPress database.

Much of the documentation can be found on the Settings > OpenID Connect Generic dashboard page.

Installation

  1. Upload to the /wp-content/plugins/ directory
  2. Activate the plugin
  3. Visit Settings > OpenID Connect and configure to meet your needs

Composer

OpenID Connect Generic on packagist

Installation:

composer require daggerhart/openid-connect-generic

Frequently Asked Questions

What is the client's Redirect URI?

Most OAuth2 servers should require a whitelist of redirect URIs for security purposes. The Redirect URI provided by this client is like so: https://example.com/wp-admin/admin-ajax.php?action=openid-connect-authorize

Replace example.com with your domain name and path to WordPress.