How the SSO Script Sends an Error to the Connector

The following type of error determines how the SSO script sends an error to the connector:

  • Network error. If the execute_request function returns a value of Null, then the SSO script sends the error back to the connector and the connector processes the error.

  • Authentication or SSO script logic error. The SSO script translates the error to a not_valid or a not_logged_in error so that the corresponding function in the sso_client object can handle the error. It uses the following functions:

    • Uses the raise_not_logged_in_exception function for a not_logged_in error

    • Uses the raise_not_valid function for a not_valid error

  • User cancelled interactive authentication. The SSO script runs the raise_cancel_exception function to start a cancel_exception exception.