Okta Authentication using http (not https) in a webforms .net web application

You can try out this sample app GitHub - oktadev/okta-aspnet-webforms-example: An example of how to integrate Okta for authentication in an ASP.NET Webforms application.

However, I believe the change to use HTTPS is due to the SameSite cookie changes back in 2020.
https://support.okta.com/help/s/article/FAQ-How-Chrome-80-Update-for-SameSite-by-default-Potentially-Impacts-Your-Okta-Environment

You can refer to this post as well.