How is your Log Out button logging the user out? Is it designed to end the user’s Okta session, or is this an OIDC app that’s simply clearing an application session?
Most likely you will want to configure the logout button to do both. You can end the user’s Okta session (so they are prompted to re-authenticate) using either a CORS request to the Sessions endpoint or, if this is an OIDC app, redirecting to the OIDC logout endpoint.