{"id":138151,"date":"2021-03-20T13:44:34","date_gmt":"2021-03-20T13:44:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/subscriber-login-for-youtube\/"},"modified":"2022-02-07T13:29:35","modified_gmt":"2022-02-07T13:29:35","slug":"subscriber-login-for-youtube","status":"publish","type":"plugin","link":"https:\/\/frp.wordpress.org\/plugins\/subscriber-login-for-youtube\/","author":13489276,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.4","stable_tag":"trunk","tested":"5.9.13","requires":"4.4","requires_php":"7.0","requires_plugins":"","header_name":"Subscriber Login for YouTube","header_author":"Luiz C. M. de Aquino","header_description":"YouTube Subscriber Login displays login button for YouTube.","assets_banners_color":"f0f0f1","last_updated":"2022-02-07 13:29:35","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.professoraquino.com.br\/ajude","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/subscriber-login-for-youtube\/","header_author_uri":"https:\/\/www.professoraquino.com.br\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1107,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","changelog","description"],"tags":{"1.0.2":{"tag":"1.0.2","author":"LCMAquino","date":"2021-03-22 15:14:14"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2500092,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2500092,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2500092,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2500092,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2500092,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2500092,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2500092,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2500092,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"\"Sign in with YouTube\" button on the main WP login page.","2":"\"Revoke access\" link on the WordPress profile page.","3":"Subscriber Login for YouTube on the WordPress Settings page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[12644,73463,197540],"plugin_category":[],"plugin_contributors":[197541],"plugin_business_model":[],"class_list":["post-138151","plugin","type-plugin","status-publish","hentry","plugin_tags-oauth2","plugin_tags-youtube-api-v3","plugin_tags-youtube-sign-in","plugin_contributors-lcmaquino","plugin_committers-lcmaquino"],"banners":{"banner":"https:\/\/ps.w.org\/subscriber-login-for-youtube\/assets\/banner-772x250.png?rev=2500092","banner_2x":"https:\/\/ps.w.org\/subscriber-login-for-youtube\/assets\/banner-1544x500.png?rev=2500092","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/subscriber-login-for-youtube\/assets\/icon.svg?rev=2500092","icon":"https:\/\/ps.w.org\/subscriber-login-for-youtube\/assets\/icon.svg?rev=2500092","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/subscriber-login-for-youtube\/assets\/screenshot-1.png?rev=2500092","caption":"\"Sign in with YouTube\" button on the main WP login page."},{"src":"https:\/\/ps.w.org\/subscriber-login-for-youtube\/assets\/screenshot-2.png?rev=2500092","caption":"\"Revoke access\" link on the WordPress profile page."},{"src":"https:\/\/ps.w.org\/subscriber-login-for-youtube\/assets\/screenshot-3.png?rev=2500092","caption":"Subscriber Login for YouTube on the WordPress Settings page."}],"raw_content":"<!--section=installation-->\n<h3>Automatic installation<\/h3>\n\n<ol>\n<li>Open the WordPress admin screen for your site. Navigate to \"Plugins &gt; Add New\", and search for Subscriber Login for YouTube.<\/li>\n<li>Click the \"Install Now\" button.<\/li>\n<li>Then activate the Subscriber Login for YouTube plugin.<\/li>\n<li>Go to the \"Settings &gt; Subscriber Login for YouTube\" to set up your Google OAuth 2.0 client and YouTube channel information.<\/li>\n<li>Test the configuration by clicking the sign in button on WordPress login page.<\/li>\n<\/ol>\n\n<h3>Manual installation<\/h3>\n\n<ol>\n<li>Download <a href=\"https:\/\/downloads.wordpress.org\/plugin\/subscriber-login-for-youtube.zip\">Subscriber Login for YouTube<\/a>.<\/li>\n<li>Upload Subscriber Login for YouTube through \"Plugins &gt; Add New &gt; Upload\" admin screen or upload subscriber-login-for-youtube folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the Subscriber Login for YouTube plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to the \"Settings &gt; Subscriber Login for YouTube\" to set up your Google OAuth 2.0 client and YouTube channel information.<\/li>\n<li>Test the configuration by clicking the sign in button on WordPress login page.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Code refactoring for PSR-4 compliance.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Update version on <code>includes\/SlytOption.php<\/code>.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Add assets directory for release on WordPress Plugin Directory.<\/li>\n<li>Change plugin license to GPLv2 or later to match with WordPress license.<\/li>\n<li>Update readme.txt.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix issues in WordPress Plugin Review #1.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial plugin version.<\/li>\n<\/ul>\n\n<!--section=description-->\n<h3>Introduction<\/h3>\n\n<p>Subscriber Login for YouTube is a WordPress plugin for Google OAuth 2.0 authentication with YouTube Google account.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Authentication \u2014 get the user coming from Google authentication;<\/li>\n<li>Get user information \u2014 get the user data from their Google account;<\/li>\n<li>Refresh token \u2014 refresh the user's access token;<\/li>\n<li>Revoke token \u2014 revoke the user's access token;<\/li>\n<li>Check if an user is subscribed on a given YouTube channel;<\/li>\n<\/ul>\n\n<p>For more information about Google OAuth 2.0, please see <a href=\"https:\/\/developers.google.com\/identity\/protocols\/oauth2\/web-server\">Using OAuth 2.0 for Web Server Applications<\/a><\/p>\n\n<h3>Requirements<\/h3>\n\n<ul>\n<li>PHP 7.0 or later;<\/li>\n<li>WordPress 4.4 or later;<\/li>\n<\/ul>\n\n<h3>Setting<\/h3>\n\n<p>Before using Subscriber Login for YouTube, you need to set up an Google project for web application in <a href=\"https:\/\/console.developers.google.com\/\">Google Console<\/a>. It's a <strong>Google requirement<\/strong> for users to login! The web application project will provide: <code>GOOGLE_CLIENT_ID<\/code>, <code>GOOGLE_CLIENT_SECRET<\/code>, and <code>GOOGLE_REDIRECT_URI<\/code>.<\/p>\n\n<p>Activate the \"YouTube Data API v3\" in your project and add the scopes <code>openid<\/code>, <code>email<\/code>, and <code>https:\/\/www.googleapis.com\/auth\/youtube.readonly<\/code> for its consent screen. See more details in <a href=\"https:\/\/support.google.com\/cloud\/answer\/6158849?hl=en\">Setting up OAuth 2.0<\/a>.<\/p>\n\n<h3>Access Scopes<\/h3>\n\n<p>The scopes are used by Google to limit your application access to the user account data. Read more about <a href=\"https:\/\/developers.google.com\/youtube\/v3\/guides\/auth\/server-side-web-apps?hl=pt-br\">YouTube Data API<\/a> scopes.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>After you activated the plugin, then the plugin will automatically:<\/p>\n\n<ul>\n<li>add the \"Sign in with YouTube\" button to the WordPress login page. See screenshot #1.<\/li>\n<li>add the \"Revoke access\" link to the WordPress profile page. See screenshot #2.<\/li>\n<\/ul>\n\n<h3>License<\/h3>\n\n<p>Subscriber Login for YouTube is open-sourced software licensed under the <a href=\"https:\/\/github.com\/lcmaquino\/subscriber-login-for-youtube\/blob\/main\/LICENSE\">GPL v2.0 or later<\/a>.<\/p>","raw_excerpt":"Introduction","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/138151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=138151"}],"author":[{"embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lcmaquino"}],"wp:attachment":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=138151"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=138151"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=138151"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=138151"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=138151"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=138151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}