A notice commonly experienced by a first-time installation of TwitchPress and it is caused by the user_read permission not being granted. You can change that at any time in the Twitch API tab, in the plugin’s Settings.
Always check the plugins configuration in the Help tab when dealing with a problem, click here to read more on how to confirm that my Twitch plugin is fully setup.
Twitch returned some of your account information but your email address was not included in the data.
This notice might be experienced when using the TwitchPress Login Extension. The full notice is as follows…
Twitch.tv returned an error when attempting to login. This could be a temporary issue with the API. Please return to the login page and try again. If this message appears twice please report it.
The notice is usually caused by the plugin not being set up properly so my initial support would assume that until I see something in the configuration that suggests otherwise. New users of the TwitchPress plugin will experience this often and it is the perfect opportunity to learn how to monitor the TwitchPress system.
1. Open Help Tab
Please begin by going to any of the plugins pages and opening the Help tab. I use the help tab a lot, it’s an ideal place for anything that applies to all views.
2. Status Sections
If you’re using the latest version, you’ll see these highlighted Help tab sections. If you don’t see them, please update the plugin. They will tell you what is going wrong and right.
3. Twitch User Status
This is the Twitch User Status setup wrong because you’ve had to log into your site the normal way, without going through Twitch authorization. This section will tell you more once we get you logged in using Twitch.
4. Twitch App Status
If any of the values in your Twitch App Status looks like this, your Twitch app credentials might be wrong or the main channel has not been set up. Please click on the Installation section and click Setup Wizard to go through setup again.
5. Twitch Channel Status
Go to the Twitch Channel Status section. Most, if not all, values should be populated. If any are empty like in this image, please go through the Setup Wizard again. To do that, click on Installation and then the Setup Wizard.
I’ve released a login and registration extension on GitHub. This is a free extension and has been submitted to WordPress.org for review. If accepted, we will be able to install it via the TwitchPress Setup Wizard. All free extensions will be available in the wizard, for quick-install.
WordPress Login Via Twitch
Activating the plugin will add a new button to the Login page. Clicking it will take visitors to Twitch.tv to complete the oAuth2 procedure. The visitor will be returned to the login page (/wp-login.php) and the TwitchPress Login Extension will process values in the URL.
No Existing Account
If there is no existing account for the visitor, the extension will create one. So this extension allows quick registration.
Existing Account Found
If my extension finds an existing account, the visitor will be logged into that WP account.
At this early stage, the TwitchPress Login Extension is built for the most common requirements. How the plugin handles various scenarios, is changeable with further work and settings will be created to give administrators more option.
There is no button on the Registration page, so that will come soon. We also need a range of options for administrators to configure how they wish to handle visitors.
- Do they want registration at all or only login?
- Do they want automatic registration after the visitor clicks on the Twitch Login button or forward the visitor to the Registration form?
- Do they want the visitor to register using the normal WordPress procedure and then authorize their Twitch account once on their dashboard?
Please submit comments with suggestions or requests. Remember to use GitHub if you wish to influence the project in a more direct manner.
What is an extension?
I’ll finish by clarifying what an extension is. It’s actually just another WP plugin. The difference is that it relies on the core plugin to be active, not just installed. If the TwitchPress plugin has not been activated, you cannot activate the extension, it will simply fail when attempted. This reliance makes TwitchPress Login Extension an extension to the main plugin, no other.