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