WP Manifestindependent plugin directory
manifest / users / wp-openlogin

WP-OpenLogin

OAuth 2.0 / OpenID user registration and login for WordPress.

by Perry Butler · github.com/perrybutler/wp-openlogin · website

★ 2stars
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/perrybutler/wp-openlogin/archive/refs/heads/master.zip

WordPress OpenLogin

It's an OAuth 2.0 / OpenID user registration and login plugin for WordPress which integrates with the existing WordPress Users system. Includes and uses the LightOpenID library and Facebook-PHP-SDK.

Functions in a similar way to the StackExchange/StackOverflow login system - user's have the ability to link multiple third-party accounts to your WordPress site for logging into their WordPress user account.

Now supports WordPress Multisite.

Instructions

  1. Download the plugin files, place them into a "wp-openlogin" folder, then put this folder in your wp-content/plugins directory.
  2. Login to the WordPress admin dashboard and activate the plugin.
  3. Configure the plugin through Settings >> WP-OpenLogin.
  4. Add a login form to your site using the shortcode [rp_login_form].

Who it's for

Implement a single sign-on experience for visitors to your blog/site. Visitors can login with a Google/Yahoo/Facebook button. If the WordPress setting to allow new user registrations is enabled, any guest who authenticates successfully with their OAuth/OpenID provider will have a WordPress user account created for them automatically and linked to their OAuth/OpenID account.

Single sign-on is useful for building a social/community driven site/app where guests would want to authenticate with their third-party account instead of maintaining a separate account for your site/app.

Users can self-manage their linked accounts via the existing Edit Profile page:

WP Open Login

Roadmap

Don't use wp-load.php

Figure out how to eliminate the use of "../../wp-load.php" in some of the files, since this isn't always the path for some WordPress installations.

Keep the user informed of progress

Plugin should inform the user when a login/registration is taking place, with a loading icon or Please wait... message. We should also notify the user if it succeeds or fails, with a popup message that fades out quickly. Ideally, we need a simple way to push a message from the server back to the client (using JSON), but the login flow could make this difficult to implement.

Integrate with wp-login

Integrate with the default WordPress login page, with the ability to remove the default username/password fields (forcing the use of a third-party provider).

Provider selector

Include a selector on the settings page which would allow the admin to enable certain providers, ultimately determining which providers will show up in the [rp_login_form] and on the wp-login page.

Fancy login buttons

The login form [rp_login_form] is currently text-only, there are no brand icons/buttons for the various third-party providers. Include a few alternate "designs" such as basic/list/grid which the admin could choose from in the backend for quickly changing the style of the login form. OpenID Selector is a popular one.

History

This is a port of the Unified Login component from two of my other projects, Rapid Platform and BirthSource.

Releases

1 release.

Tag
Published
0.1 latest
Oct 3, 2013 13 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.