The problem I’m having is that, even if I have logged out from Okta, the sample application still shows me as authenticated.
My expectation is that, once I sign out from Okta, I should no longer be authenticated in the WebForms app, however, it still shows me as authenticated.
Not sure if I’m doing it wrong or if the sample code is wrong. I guess what’s needed here is to add some sort of check if the Okta session is still active.
Sorry for not getting back sooner, I have been on leave.
I have been running some tests with this sample:
However, this issue persists.
I sign in using the login button in the sample application, and I can see that I’m authenticated as a “Profile” button appears.
After that, I go to Okta and sign out from there. When I now return to the sample application, I am still authenicated. It does not help to close the application, restart visual studio and the browser, I’m still authenticated. The only way to sign out, is to click the “Logout” button on the sample application.