Get Started with Spring Boot, OAuth 2.0, and Okta

Matt Raible

You need to do a redirect on your client (using location.href = {Okta logout URL}) and not use XHR to invoke the URL. You can try my example and use your Okta app info. I’m confident it works.