开发者 |
figureone
the_magician pkarjala aargh-a-knot elarequi jojaba slyraskal |
---|---|
更新时间 | 2024年5月9日 10:16 |
WordPress版本: | 6.5 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[authorizer_login_form]
shortcode to embed a wp_login_form() outside of wp-login.php.authorizer
directory to the /wp-content/plugins/
directoryIf you add external=wordpress to the wp-login.php URL querystring, you can always get the WordPress login form to reappear. For example, if your site is at https://www.example.com, then the URL would be: https://www.example.com/wp-login.php?external=wordpress
The University of Hawai'i, which provides authentication for student, faculty, and staff members via a centralized service (CAS or LDAP).
ldap_test_user
setting on some multisite installs.authorizer_ldap_user
and authorizer_ldap_password
) or wp-config.php constants (define( 'AUTHORIZER_LDAP_USER', '...' );
and define( 'AUTHORIZER_LDAP_PASSWORD', '...' );
) to support integrations with third-party secrets managers (or simply to keep the secrets out of the WordPress database).authorizer_custom_role
filter on admin logins.authorizer_google_client_secret
and authorizer_oauth2_client_secret
) or wp-config.php constants (define( 'AUTHORIZER_GOOGLE_CLIENT_SECRET', '...' );
and define( 'AUTHORIZER_OAUTH2_CLIENT_SECRET', '...' );
) to support integrations with third-party secrets managers (or simply to keep the secrets out of the database in plaintext).array_key_last()
is not available for older PHP versions and was added in the last update). Props @ianchan-1 for reporting the issue!authorizer_oauth2_generic_authorization_parameters
for targeting the specifics of generic oauth2 providers. Provide an array with options, such as array( 'scope' => 'user:email' )
, to customize your generic oauth2 provider.authorizer_oauth2_generic_authenticated_email
for manually inspecting the results returned from the oauth2 provider to find the resource owner's email to give to WordPress for the authenticated user. Use this for oauth2 providers that release email addresses in nonstandard places.