Trying to integrate a new MVC .NET Core 2.2 application with OKTA SSO using SAML or WS-Fed (SAML preferred)
While the redirection to OKTA, sign-in and then redirect back to the application happens correctly, the User.Identity is always returned empty (null).
For SAML integration I used Sustainsys library . For WS-Fed, the .NET core build-in library.
The only way I managed to integrate is by using OpenId connect. But our requirement is SAML(preferred) or Ws-Fed
If anyone has previous experience and managed to integrate an MVC .NET Core application with OKTA using SAML or Ws-Fed, please help, it would be greatly appreciated.
I actually managed to set it up 2 hours after my post. It was just a matter of setting the proper values in the SAML profile. I will post later my solution for anyone having the same issue.