4.3.10.8 Log out from Ops I

There are two ways for customer and requester users to log out of Ops I on the site window, depending on whether the site theme is [Lightning] or not.

If the site theme is [Lightning], “Ops I Menu” is available, so you can log out from [Ops I Menu]-[Log Out].

If the site theme is not [Lightning], [Ops I Menu] is not available, so create and implement a component for logout. Below are the details of the procedure for creating a logout component.

[Example of procedure for creating a logout component]

Put a link to “https://Ops I Domain/logout?redirect_uri=URI of Redirection Destination” in the page to implement the component. Customer and requester users can log out by clicking this link.
The details of the URI of the redirect destination are shown below.

  • Specify the URL you want to display when you log in again after logging out
  • Specify any URL within the service portal
  • Specify the URL-encoded value
    Example: https://tenant.ops-integration.com/logout?redirect_uri=https%3A%2F%2Fportal.tenant.ops-integration.com%2Fsite-customer1

① Example of implementation by editing the theme
The procedure differs for each theme. The following is an example in the case of [Twenty Twenty-Four], the default theme for WordPress 6.1.

a. After selecting [Appearance]-[Customize] on the [Site Management] window, select [Use site editor] to move to the theme edition window.

b. On the edition window, select the menu in the upper right corner and click the + button.

c. Add a [Custom Link] block, enter "https://Ops I Domain/logout?redirect_uri=URI to redirect to", and press Enter.

d. Change the label of the created block.

② Example of implementation using a widget
a. From the site administration window, move to the page edition window.

b. From the + button on the edition window, select a widget for which you can create a link. Select a button here as an example.

c. Create a link on the button to "https://Ops I Domain/logout?redirect_uri=URI to redirect to".