Skip to main content
Skip table of contents

Add Your SSO Logout Logic

To complete this step, you'll fill out the logout function to log out the current user. The logout function has no parameters, no return value, and no callback.

  • Inside the logout function, add code that tells your authentication system to log out the currently logged-in user.

    How you do this depends on your authentication system. For example, you could stay on the PDP and make an asynchronous call, such as an ajax call, to log the user out. If your implementation sends the user to another page, be sure to return to the PDP with all query parameters in place so that the review form launches.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.