| 开发者 |
daggerhart
tnolte |
|---|---|
| 更新时间 | 2026年12月2日 03:19 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/ directoryMost OAuth2 servers will require whitelisting a set 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.
Some OAuth2 servers do not allow for a client redirect URI to contain a query string. The default URI provided by
this module leverages WordPress's admin-ajax.php endpoint as an easy way to provide a route that does not include
HTML, but this will naturally involve a query string. Fortunately, this plugin provides a setting that will make use of
an alternate redirect URI that does not include a query string.
On the settings page for this plugin (Dashboard > Settings > OpenID Connect Generic) there is a checkbox for
Alternate Redirect URI. When checked, the plugin will use the Redirect URI
https://example.com/openid-connect-authorize.
wordpress_openid_connect_generic_browser, which WP Engine and Pantheon pass to WordPress (#702).wp-openid_connect_generic_browser, and the new openid-connect-generic-browser-cookie-name filter can change it.openid-connect-generic-settings.openid-connect-generic-new-state-value.