Sign in Widget and .NET Framework 4.0

There are many guides and samples to integrate okta sign in widget. I have built some sample apps using OIDC and the okta hosted sign in widget. But what recommendations are there to use the okta hosted sign in widget with an older app built with .net framework 3.5 or 4.0?