Step by Step Guide to Configure Clever as an OAuth/OpenId Connect Server



If you want users to login to your WordPress site using their Clever credentials, you can simply do it using our WP OAuth Client plugin. Once you configure the Clever with WordPress plugin, you can allow users to SSO to your WordPress site using Clever. Similarly, you can map your WordPress roles based on your Clever 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 Clever with WordPress:

  • First of all, go to https://dev.clever.com/ and sign up/login to register a new app.
  • Under Start your Clever Sandbox, click on the click here to get started option.
  • clever1
  • Go to https://apps.clever.com/signup and signup/login to your account.
  • Follow the steps to create an application. (refer to the images below)
  • clever2 clever3 clever4
  • Click on Clever Instant Login option to continue.
  • clever4
  • Click on next button to continue.
  • clever5
  • Copy the Client ID and the Client secret and store it in your miniOrange OAuth Client Plugin under the Client ID and Client Secret text fields respectively. Copy the Redirect/Callback URL from your miniOrange oauth client plugin and store it in the Redirect URIs text field. Finally, click on the Save button to save your configurations.
  • clever6
  • Click on the Next button to continue to next step.
  • Select the browsers you want to be supported for certificate survey and select Secure Authorization Grant Flow for the which authorization flow do you use question (refer to the image on the next page).
  • clever7
  • Enter all the other fields according to your use case and click on the Submit button in the end to save your configurations.
  • You can download OAuth Client plugin using the following link.
    OAuth Single Sign On – SSO (OAuth client)

    Clever Endpoints and Scope:

    Client ID : from the step 7 above
    Client Secret : from the step 7 above
    Scope: read:students read:teachers read:user_id
    Authorize Endpoint: https://clever.com/oauth/authorize
    Access Token Endpoint: https://clever.com/oauth/tokens
    Get User Info Endpoint: https://api.clever.com/v1.1/me

Free Trial

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