This page defines the failure info object available in Social Login. For login success handling, read user info object.

Failure Info Object

The Javascript function ssmi_social_login_failure is called upon unsuccessful social login. The failure info Javascript object is passed as a parameter with this function.

The fields of the failure_info object are defined as follows:

Name Description Example
error Flag is set to true when the failure info object is returned. true
This flag is automatically set when the function ssmi_social_login_failure is called.
reason Reason for failure Error while trying to login
Only one reason is supported right now. More reasons will be added later.


When the Javascript function ssmi_social_login_failure is called, the typical action is do nothing. Some basic information is returned in the failure_info object. For login success handling, read user info object.

Go back to Social Login page.