Subscriber Login for YouTube

Subscriber Login for YouTube Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 607 downloads
Subscriber Login for YouTube Icon

Try plugin: Subscriber Login for YouTube

We'll create fresh WordPress site with Subscriber Login for YouTube installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Subscriber Login for YouTube

Introduction

1


0


0


0


0

updated: 2 years ago
since: 3 years ago

Description

Introduction

Subscriber Login for YouTube is a WordPress plugin for Google OAuth 2.0 authentication with YouTube Google account.

Features

  • Authentication — get the user coming from Google authentication;
  • Get user information — get the user data from their Google account;
  • Refresh token — refresh the user’s access token;
  • Revoke token — revoke the user’s access token;
  • Check if an user is subscribed on a given YouTube channel;

For more information about Google OAuth 2.0, please see Using OAuth 2.0 for Web Server Applications

Requirements

  • PHP 7.0 or later;
  • WordPress 4.4 or later;

Setting

Before using Subscriber Login for YouTube, you need to set up an Google project for web application in Google Console. It’s a Google requirement for users to login! The web application project will provide: GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, and GOOGLE_REDIRECT_URI.

Activate the “YouTube Data API v3” in your project and add the scopes openid, email, and https://www.googleapis.com/auth/youtube.readonly for its consent screen. See more details in Setting up OAuth 2.0.

Access Scopes

The scopes are used by Google to limit your application access to the user account data. Read more about YouTube Data API scopes.

Usage

After you activated the plugin, then the plugin will automatically:

  • add the “Sign in with YouTube” button to the WordPress login page. See screenshot #1.
  • add the “Revoke access” link to the WordPress profile page. See screenshot #2.

License

Subscriber Login for YouTube is open-sourced software licensed under the GPL v2.0 or later.