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

Hi,

I have been running some tests using this webforms guide: https://developer.okta.com/blog/2018/08/29/secure-webforms-with-openidconnect-okta

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.

Thanks,
Mikael

Sorry for the delay! We recently published some new Web Forms samples: https://github.com/okta/samples-aspnet-webforms

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