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.
A user clicks “Log in with Edmodo” in your app.
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.