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 list the post sign-out URL in your Okta application settings. If you don't specify a
post_logout_redirect_uri, then the browser is redirected to the Okta sign-in page.
Open your Okta Developer Console:
Select Applications, and then select your application.
Select General and click Edit.
In the Logout redirect URIs section, add the base URI of your application.Instructions for