Coil Single Sign On SSO WordPress Plugin Setup Guide



If you want users to login to your WordPress site using their Coil credentials, you can simply do it using our WordPress OAuth Single Sign-On plugin. Once you configure the Coil with the WordPress SSO plugin, you can allow users to Login to your WordPress site using Coil Similarly, you can map your WordPress roles based on your Coil attributes/groups. To know more about other features we provide in WP OAuth Single Sign-On ( OAuth / OpenID Connect Client ) plugin, you can click here.



You can download OAuth Client plugin using the following link.


Download And Installation

  • Log into your WordPress instance as an admin.
  • Go to the WordPress Dashboard -> Plugins and click on Add New.
  • Search for a WordPress OAuth Single Sign On plugin and click on Install Now.
  • Once installed click on Activate.

Step 1: Setup Coil as an OAuth Provider

  • Sign up for a free Coil account if you don't already have one.
  • coil single sign on sso -sign-up-form
  • Register your coil OIDC application to obtain client id and secret.

  • Coil Application Endpoints and Scope:


    Client ID : you will get from Coil app
    Client Secret : you will get from Coil app
    Scope: simple_wm openid email
    Authorize Endpoint: https://coil.com/oauth/auth
    Access Token Endpoint: https://coil.com/oauth/token
    Get User Info Endpoint: https://api.coil.com/user/info

Step 2: Setup WordPress as OAuth Client

  • Go to the Configure OAuth tab in the Plugin and search for Custom OAuth in the applications list, and select Custom OAuth 2.0 App .
  • coil single sign on sso : save settings
  • Now, configure App Name, Client ID, Client Secret received from Coil Application.
  • Configure scope as simple_wm openid email.
  • Click on Save Settings to save the configuration.
  • coil single sign on sso  : save settings

Step 3: User Attribute Mapping.

  • User Attribute Mapping is mandatory for enabling users to successfully login into WordPress. We will be setting up user profile attributes for WordPress using below settings.
  • Finding user attributes

    • Go to Configure OAuth tab. Scroll down and click on Test Configuration.
    • coil single sign on sso : test congifuration
    • After successful Test Configuration, go to Attribute / Role Mapping tab, you will get the list of attributes in a Username dropdown.
    • coil single sign on sso  : attribute/role mapping

Step 4: Login Settings / Sign In Settings.

  • The settings in SSO Settings tab define the user experience for Single Sign On. To add a login widget on your WordPress page, you need to follow below steps.
  • Sign In Settings

    • Go to WordPress Left Panel > Appearances > Widgets.
    • Select miniOrange OAuth. Drag and drop to your favourite location and save.
    • coil single sign on sso : login button setting
    • Go to your site-URL on private window and you will be able to see Login button with display name you have given.
    • coil single sign on sso : login button setting
    • You have successfully logged in. Now you will be able to access your WordPress profile.
    • coil single sign on sso : login button setting

Need Help?

Mail us on oauthsupport@xecurify.com for quick guidance(via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.