After you sign users out of your app and out of Okta, you have to redirect users to a specific location in your application. You need to whitelist the post sign-out URL in your Okta application settings.
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.No code snippets defined