多租户:使用 azure ad 识别租户

问题描述 投票:0回答:0

我正在使用 aspnet core webapp 开发一个多租户网络应用程序。

  • 第 1 步:应从 url 中识别租户(这里我可以说,tenant1.example.com,tenant2.example.com)
  • 第 2 步:租户应使用 azure ad 进行身份验证并使用不记名令牌进行授权
  • 第 3 步:验证完成后,租户可以访问该应用程序。

我可以识别租户,我在使用天蓝色广告对租户进行身份验证时所面对的。 我已经看到很多使用 openidconnect 的示例,但它无法正常工作。

multi-tenant
© www.soinside.com 2019 - 2024. All rights reserved.