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

I have a web app that runs only in a intranet and uses http and not https.
When performing okta authentication all works fine, but after the authentication redirect we get always errors and fail to connect to the redirect URL because it always try to return to that page using https.
Is there a way do performe an authentication over http on okta?
Is there a demo app?
Tks.

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.