ASP.NET WebForms is still authenticated after singing out from Okta


I have been running some tests using this webforms guide:

and this sample project:

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 the delay! We recently published some new Web Forms samples:

Can you try those and see if you still experience the issue?