Need help with keycloak integration with asp.net mvc 4

Hi, I need to create asp.net mvc 4 that works with keycloak, all the info that I found is outdated, can someone have maybe a complete and simple project, or can you direct me to a tutorial?
(I am considering giving up the system because there are no good examples on the Internet)

Hi,
I think your problem is, that ASP.NET MVC 4 is extremly outdated. If you can switch to ASP.NET Core (v3 or newer), it seems to be super-easy to integrate OpenID Connect authentication, everything you need is integrated in AST.NET Core:

If you are on MVC 4 and can’t upgrade, an OIDC capable authentication proxy might be a solution.