SSO using saml between dotnet & java application

Hello Guys,

Is it possible to create a SSO between .net & java application using SAML? We also want to use our custom database for authentication as well as for authorization. Any type of example or sample code will be highly appreciated.

Regards,
Developer

Yes, it’s possible. Auth0 can be both SAML Service Provider and Identity Provider.

Docs are at Test SAML SSO with Auth0 as Service Provider and Identity Provider

Java/Spring provide SAML libraries such as Spring Security SAML (or others if not using Spring).

For .NET (which I’m not too familiar with) there are also lots of libraries available, such as SAML 2.0 SSO Library for ASP.NET MVC, Core, C#, VB | ComponentPro, but I guess also open source ones.

Our Quickstarts are mostly around OAuth2 / OIDC, therefore not much sample code though specific for your technology stack and scenario.