logout

Deprecation Notice

This SDK is deprecated in favor of the Core and UI JS SDKs. See Migrating to the latest SDKs to use the latest Core and UI SDKs.

Support for the Legacy JS SDK ends on 28 February, 2021.

reach5('logout', {
  redirectTo: string,
})

About this command

Kill current user’s SSO session.

Use the Revoke refresh token endpoint to invalidate all active user tokens on a specific client_id.

Examples

reach5('logout', {
  redirectTo: 'https://my-site.com/logout'
});

Parameters

redirectTo string

The URL to which the user is redirected afterward. This URL must be whitelisted in the Allowed logout callback URLs field of your ReachFive Console SSO settings (Security  SSO). Whitelisted URLs can be used with all account identity clients.

removeCredentials boolean

Delete the user’s credentials with the Credentials Management API.

Defaults to false.

This feature is experimental, please check your browser compatibility.