We allow for a additional parameter called ‘state’ to be used during the authorization flow. You can use this to persist any information you would still like to be available after the user completes logging in via Edmodo Connect.
Example use case
- Want user to land on specific item, e.g. quiz_id=12345.
- When user hits API authorization page, pass in ‘state’ parameter to identify the item.
- After the log-in, the state parameter will perist in the URL. Use this to redirect to the desired location on your site or app.