Skip to main content

SSO authorization

In this short documentation, we’ll explain how you can create a seamless integration for a learner on the platform.

Updated yesterday

1. Create a new session by the learner's email and receive the access token.

Please, use your api-key to make a request. The API key can be found here →

POST https://api.educate-me.co/students/{email}/sessions 

Body:
{
expireInDays: number // # of days the token will be active.

}

This method returns the following interface:

{ 
accessToken: string
expiresIn: number // in seconds
id: string // id of a learner
}

2. Create an access link to the platform interface with the following route:

{your_domain}/auth?accessToken={access_token_here}

An example of such a link:

Did this answer your question?