onLoginError

Login failed and the login widget is closed. Control returns user to the partner site. The partner should act upon the error accordingly.

Sample response:

{
  "error": {
    "error": "invalid_scope",
    "error_description": "Invalid scope: SOME_INVALID_SCOPE"
  }
}