Step By Step Guide For WordPress Single Sign On (SSO) using Twitch

If you want users to log in to your WordPress site using their Twitch credentials, you can simply do it using our WP OAuth Client plugin. Once you configure the Twitch with WordPress plugin, you can allow users to SSO to your WordPress site using Twitch. Similarly, you can map your WordPress roles based on your Twitch attributes/groups. To know more about other features we provide in WP OAuth Client plugin, you can click here.

Follow the Step by Step guide to configure Twitch as an OAuth Server:

  • First of all, go to https://passport.twitch.tv/disable_2fa/new and Login/Signup.
  • Go to https://dev.twitch.tv/console . Click on Applications ->Register Your Application .
  • Enter your Application name under the Name field.
  • Name
  • Enter the Redirect/Callback URI from miniOrange OAuth Client plugin/module under the OAuth Redirect URL field.
  • redirect
  • Select a Category.
  • Category
  • Click on Create button.
  • Create
  • Click on Manage.
  • Manage
  • Click on New Secret button.
  • Secret
  • Copy your Client ID and Client Secret and save it on your miniOrange OAuth Client plugin Configuration.
  • ClientSecret
  • You have successfully completed your Twitch Oauth Server side configurations.
  • You can download OAuth Client plugin using the following link.
    • OAuth Single Sign On – SSO (OAuth client)

      Twitch Endpoints and Scope:

      Client ID : from the step 9 above
      Client Secret : from the step 9 above
      Scope: user:read:email
      For more scopes click here.
      Authorize Endpoint: https://id.twitch.tv/oauth2/authorize
      Access Token Endpoint: https://id.twitch.tv/oauth2/token
      Get User Info Endpoint: https://id.twitch.tv/oauth2/userinfo

Free Trial

If you are facing any difficulty please mail us on info@xecurify.com.