diff --git a/admin/openid-connect-generic-settings.php b/admin/openid-connect-generic-settings.php index d7000cc..2727d9e 100644 --- a/admin/openid-connect-generic-settings.php +++ b/admin/openid-connect-generic-settings.php @@ -33,9 +33,9 @@ class OpenID_Connect_Generic_Settings { * * - title * - description - * - type ( checkbox | text ) - * - section ( settings/option page section ) - * - example (optional) + * - type ( checkbox | text | select ) + * - section - settings/option page section ( client_settings | authorization_settings ) + * - example (optional example will appear beneath description and be wrapped in ) */ $this->settings_fields = array( 'login_type' => array( diff --git a/openid-connect-generic.php b/openid-connect-generic.php index 1462858..5468a8e 100644 --- a/openid-connect-generic.php +++ b/openid-connect-generic.php @@ -1,11 +1,11 @@ OpenID Connect Generic dashboard page. + +Heavily based on the plugin provided by shirounagi - https://wordpress.org/plugins/generic-openid-connect/ but +has been completely rewritten to provide a bit more flexibility in development going forward. + +== Installation == + +1. Upload to the `/wp-content/plugins/` directory +1. Activate the plugin +1. Visit Settings > OpenID Connect and configure to meet your needs + +== Frequently Asked Questions == + += What is the client's Redirect URI? = + +Most 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. + + +== Changelog == + += 2.0 = + +Complete rewrite of another plugin +