Open the controller where you handle the sign-out process and update the SignOut action. This time you need to also sign the user out of the Okta OIDC middleware with OktaDefaults.MvcAuthenticationType:
Update your using statements to import the following namespaces:
After users sign out of Okta, they are redirected to the location defined in Define the sign-out callback section.