The website is also available in
What can we help you with?
SSO (single sign-on) via oAuth 2.0 in courses

Learn how to integrate courses into your platform via oAuth 2.0 – an open standard for token-based authentication and authorization.

Written Kate Hornysh

OAuth 2.0 Overview

OAuth 2.0 defines an authorization framework for people, devices or apps to securely access protected resources through applications or APIs. Third-party applications can gain approval for limited access to an HTTP service, by orchestrating an approval interaction between the resource owner and the HTTP service, or by allowing the third-party application to obtain access on its own behalf. This enables a single, consistent and flexible identity and policy architecture for web applications, web services, devices and desktop clients to access APIs on behalf of the user. OAuth 2.0 has emerged as a key platform on which to build in support of new use cases, such as OpenID Connect.

What does it mean for you and your organization?

In fact, it’s pretty simple, now there is one more option to establish an integration between platforms on your side and Easygenerator courses. And, considering the popularity of oAuth 2.0, that chances that your platforms support it and can be easily integrated with Easygenerator courses are pretty high.

How to set up an integration

NOTE: oAuth 2.0 integration is available for Team and Enterprise plans only.

Important: to set up an oAuth 2.0 integration between your platform and Easygenerator courses, the following data is required from your side:

  1. oAuth client_id.
  2. oAuth client_secret.
  3. API documentation:
  • URL for authorization;
  • URL for getToken;
  • URL for getting information about the current user (email and full name are required).

Also, the following callback URLs (redirect URLs) should be used:

  • staging: https://auth-staging.easygenerator.com/api/auth/oauth/<provider-name>?callbackUrl=<course-url>

  • production: https://auth.easygenerator.com/api/auth/oauth/<provider-name>?callbackUrl=<course-url>

Please fill in this default form and contact [email protected] if you want to setup oAuth 2.0 integration between your platform and Easygenerator courses.

Note: oAuth 2.0 integration requires Cross-device progress saving.

Once the integration is set up

Once the integration is enabled for your accounts, you can use the following link to access your courses with SSO enabled:

https://auth.easygenerator.com/course/oauth?provider=<provider-name>&courseUrl=<full-url-to-the-published-course>

Make sure to replace:

  • <provider-name> with the one we provide you after the integration;
  • <full-url-to-the-published-course> – the private link to a particular published course.

Using AZURE AD?

For those clients who have AZURE AD, we use this URL: https://graph.microsoft.com/v1.0/me to get information about the current users, but you need to set specific (API permissions) settings for it.

Here are the articles for getting acquainted with general information on how AZURE AD works:

Get a user – Microsoft Graph v1.0 | Microsoft Docs

Microsoft Graph permissions reference – Microsoft Graph | Microsoft Docs