Contact EduCloud ([email protected]) for review of your application or service. We'll require the following information:
- Company or developer name and contact information
- Name of application or service
- Description of application or service
- Application URL (format: https://www.example.com)
- OAuth Redirect URL (format: https://www.example.com/aouth/callback or 'urn:ietf:wg:oauth:2.0:oob')
After a successful review, we'll provide you with the following:
- Application name
- Client ID
- Client secret
- Authorization server endpoints
- Web services API endpoint
Application Name, Client ID and Client secret are application specific and must only be used with your application or service.
There are currently one way to authorization through EduCloud API v1.
In ruby, it would be something like this:
client_id = '4ea1b...'
client_secret = 'a2982...'
response = RestClient.post 'https://bazaar.educloudalliance.org/oauth/token', {
grant_type: 'client_credentials',
client_id: client_id,
client_secret: client_secret
}
token = JSON.parse(response)["access_token"]
# => 'a2982...'
There are two ways to authenticate through EduCloud API v1.
OAuth2 Token (sent in a header or as a parameter)
$ curl -H "Authorization: Bearer OAUTH-TOKEN" https://bazaar.educloudalliance.org/api/v1/
Read more about OAuth2.
Check the latest API documentation.
- User visit LMS site and make login by MPASS.fi.
- User click browser. LMS makes a POST request to the Bazaar with arguments from MPASS.fi.
- Bazaar replies with unique browse_URL with 'session_id' for login.
- LMS redirects user to the Bazaar store (WEB UI).
- User choose materials and redirects back to LMS with materials data.
- LMS makes a POST request to the Bazaar with arguments for api/v1/lms/view.
- Bazaar replies with unique url.
- LMS forwards user to the unique url (CMS).
- CMS make request to Bazaar for validate user token.
- Bazaar response with user data from the Bazaar using token.