相关疑难解决方法(0)

如何使用 Azure Active Directory 设置 Ocelot Api 网关

我遵循教程并设法将 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

2
推荐指数
1
解决办法
2539
查看次数