Edmodo Connect Introduction

Edmodo Connect allows users to securely log in to your website or native mobile app using an Edmodo account. When a user logs in with Edmodo credentials, your app can access certain information about the user (such as parts of their profile and groups) through the Edmodo API. Edmodo Connect uses the OAuth 2.0 protocol to confirm a user’s identity and to give the user control over what personal information your app can access through the API.

https://youtube.com/watch?v=okxr0OpklS8+

—–

Basic Steps

A user clicks “Log in with Edmodo” in your app.


ec_wp1 copy
The app opens a popup window or redirects to the Edmodo Connect dialog. In this dialog, the user may be asked to sign in to Edmodo (if they’re not currently signed in) and to authorize your app (if they have not already done so).


login_final2

Once the user has authorized your app, you will receive an “access token” by completing one of the authentication flows described below. Use the access token to make calls to the Edmodo API and get information about the user.

To keep the user logged in to your app, persist the access token by adding it to the session data, or by writing it to the native app’s datastore. To log the user out of your app, clear the access token by deleting the session in a webapp, or by clearing it from this native app’s datastore.