1

If you have any sample example of multiple tenants in azure ad with itfoxtec library then please suggest me.

1 Answers1

2

Each Azure AD tenant (Azure AD enterprise application) have a unique issuer, endpoint and SAML 2.0 metadata. Therefore, you need a configuration for each tenant in your application implementing ITfoxtec.Identity.Saml2. The configuration for each tenant can be loaded by calling each Azure AD enterprise application's SAML 2.0 metadata endpoint.

You can assign each tenant a unique return points in your application and thereby you know which configuration to use.

I do not have a simple sample. I have created FoxIDs which support Azure AD multiple tenants with both OpenID Connect (Stack Overflow description) and SAML 2.0, It is open source at you are welcome to look at the code. However, the code does include many other things.

Anders Revsgaard
  • 3,636
  • 1
  • 9
  • 25
  • 1
    Did not understand. Can you brief again? – Constro Umbraco Mar 12 '21 at 12:22
  • Can you please provide POC ( or suggest implementation ) to load the configuration for each unique return endpoint? that will be great help in the current sample project, SAML configuration loaded once while application startup. – Constro Umbraco Mar 15 '21 at 16:58