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.


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

Docs are at

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

For .NET (which I’m not too familiar with) there are also lots of libraries available, such as, 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.