我遵循本教程并设法将 api 与 Azure Active Directory 身份验证和授权结合使用。
但是我想从 Ocelot Api Gateway 后面使用 api。我可以将 ocelot 与自定义基本授权一起使用,但无法与 Azure Active Directory 一起使用。
我已经将 Ocelot api 网关 url 添加到我的 api 重定向 url 列表中。
我应该如何在 config.json 和 Ocelot Api Gateway 项目 StartUp.cs 中设置 ReRoutes 值?
任何帮助将不胜感激。
azure azure-active-directory asp.net-core asp.net-core-webapi ocelot