Jetpack
Support Home > Utilities > WordPress.com Connect

WordPress.com Connect

WordPress.com Connect is now deprecated. It has been replaced by the Single Sign On module.

Using the same log-in credentials you use for WordPress.com, you’ll now be able to sign in to self-hosted WordPress.org sites that integrate with WordPress.com Connect. From your WordPress.com dashboard, you can easily control which apps have access to your data and remove access to those you no longer use.

Benefits

  • Millions of users: By adding WordPress.com Connect, you’ll become part of a large family that makes it easy for WordPress.com users to explore new sites.
  • Compatible with your existing sign-in system: WordPress.com Connect can be used on its own or as a complementary sign-in option to your existing registration system. Once a user connects, you’ll get access to their profile information, which you can use in your own site.
  • Trusted relationship: Allow users to sign-in with the same credentials they use every day on WordPress.com. This takes the pain out of having to remember and manage a new log-in for another service.

Setting things up

Once you’ve activated the module in Jetpack, you’ll likely be greeted by a friendly message saying:

Almost done. Before WordPress.com Connect can finish activating, you’ll need to register your website as an application on WordPress.com

Click through the link, and then click on Visit WordPress.com to register a new WPCC client id and secret key.

Most of your data should be pre-populated, so just give it a quick skim to see if anything looks out of the ordinary, then submit!

On the next screen, you’re going to need to copy both your Client ID and Client Secret values, and save them in your Options > General screen.

Custom Settings

There are two custom overrides that you can do, and both are done by defining constants in your wp-config.php file.

By default, if there isn’t already a local account linked to the WordPress.com account, WPCC will automatically link the Verified WordPress.com account to a local account with a matching email, and log the user in. If you’d prefer to disable this functionality, and require your users to log in to their pre-existing local accounts to manually link the accounts, add this line to your wp-config.php file just before /* That's all, stop editing! Happy blogging. */

define( 'WPCC_MATCH_BY_EMAIL', false );

The WordPress.com Connect module will also respect your default settings with regard to New User Registration. If you have registration disabled, then WPCC will not create a new user account if someone is trying to log in with an unrecognized email. If you have registration turned on, though, it will automatically create a new user for them, and log them in. If you would like to allow users to register for your site with a WordPress.com account, even though you disallow normal registrations, add this line to your wp-config.php file just before /* That's all, stop editing! Happy blogging. */

define( 'WPCC_NEW_USER_OVERRIDE', true );

Follow

Get every new post delivered to your Inbox.

Join 63,945 other followers