-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for custom 3rd-party authentication. #50
base: master
Are you sure you want to change the base?
Conversation
The plugin now has the following features: - It's possible to use a 3rd-party OAuth provider. Additional configuration has been added to configure the details - It's possible to link all 3rd-party logins to the same Wordpress user. Especially useful if you only need to have the users logged in but don't care much about their identities (e.g. useful if you use a plugin such as "Force Login") - If there's only one provider defined *AND* you disable the default login form of Wordpress, the user will be automatically redirected to this provider. This esentially eliminates the Wordpress login page and relies on the 3rd-party provider only. For example, if you enable only Facebook, clicking on "Login" will take the user directly to Facebook "authorize application" page. - Lots of small fixes; e.g.: - admin page now has full width input boxes, which make long URLs much easier to handle; - custom login relies on wp_remote_get() instead of curl(), so it works even if the CURL library is not installed / linked with PHP
|
||
|
||
<!-- START Login with Custom OAuth provider section --> | ||
<div id="wpoa-settings-section-login-with-battlenet" class="wpoa-settings-section"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The id should be wpoa-settings-section-login-with-custom.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy/paste. Fixed.
B
This is exactly what I was looking for. Looks like there are no conflicts, will this be merged anytime soon? |
…rrybutler/WP-OAuth)
Hi,
since I couldn't find a plugin for this, I've fixed yours -- I've added support for a custom 3rd-party OAuth2 provider.
In my case, I needed Wordpress to authenticate against Keycloak.
To the best of my knowledge, integration works.