如何使用owin配置好openidconnect

时间:2018-12-12 15:58:18

标签: owin owin-middleware

我正在尝试使用“ redirectURI”配置openid连接 但它不会将请求重定向到授权中。 我是否需要将重定向URI作为显式的http-rest终结点公开? 还是由框架自动完成?

我的代码段是:

appBuilder.CustomAuthentication(new CustomAuthenticationOptions
{Audience =... , Authority =... , CallbackUri = "/auth/example/callback",  ClientSecret = "secret", HostBaseUri = "https://oidctests.com:5000"

});

所以我需要公开“ https://oidctests.com:5000/auth/example/callback” 还是由框架完成? 谢谢

0 个答案:

没有答案