2

我正在尝试在使用身份服务器 4 作为身份验证组件的 Visual Studio 代码中设置 Angular 6。哪些客户端(角度)库最适合使用 is4 快速设置身份验证逻辑?在这种情况下应该使用哪种身份验证流程?

4

1 回答 1

1

对于客户端库,请尝试https://github.com/IdentityModel/oidc-client-js

此外,新的建议是在使用 SPA 时使用 PKCE。请参阅 IdentityServer4 文档(参考

https://damienbod.com/2016/10/01/identityserver4-webapi-and-angular2-in-a-single-asp-net-core-project/上也有一篇很棒的帖子

于 2018-11-12T13:35:01.177 回答