Does OKTA support SAML authentication for .net framework applications?

I see examples of NuGet package and example core SAML authentication to OKTA.
For webforms or framework, I see examples for OAuth authentication. Does OKTA support SAML authentication for framework. If so, can you please provide an link.

Okta supports the SAML protocol itself (and you’ll see that a lot of application in our Okta Integration Network use SAML for SSO), we just don’t have our own purpose-built SDKs for SAML like we do for OIDC. Accordingly, our documentation lists some available open source toolkits that you can use to build your own custom SAML integration here.

For .NET, these are the ones we list:

Adding to the above docs, there is a very good blog on how to integrate dotnet with Okta using SAML.

1 Like

I tried to implement okta saml login.aspx
var samlEndpoint = ConfigurationManager.AppSettings[“Saml2:IdPMetadata”];

        var request = new AuthRequest(
            ConfigurationManager.AppSettings["Saml2:Issuer"], //TODO: put your app's "entity ID" here
            "http://localhost:53914/Auth/Assert.aspx" //TODO: put Assertion Consumer URL (where the provider should redirect users after authenticating)

        //now send the user to the SAML provider

it always redirects me to
<md:EntityDescriptor xmlns:md=“urn:oasis:names:tc:SAML:2.0:metadata” entityID=“”>

<md:IDPSSODescriptor WantAuthnRequestsSigned=“false” protocolSupportEnumeration=“urn:oasis:names:tc:SAML:2.0:protocol”>

<md:KeyDescriptor use=“signing”>

<ds:KeyInfo xmlns:ds=“XML-Signature Syntax and Processing”>