Define the sign-out callback

Signing out of Okta requires the app to open a browser and navigate to the end session endpoint. Okta ends the user's session and immediately redirects the user back to your application. To do this, you must define a callback route for the sign-out process, which means that you need to allow the post sign-out URL in your Okta app integration settings. If you don't specify a post_logout_redirect_uri, then the browser is redirected to the Okta sign-in page.

  1. Sign in to your Okta organization with your administrator account.

    Go to Admin Console

  2. In the Admin Console, go to Applications > Applications.

  3. Select your app integration.

  4. On the General tab, click Edit in the General Settings section.

  5. In the Sign-out redirect URIs section, add the base URI of your application.

    Instructions for
  6. Click Save to confirm your changes.