【文件属性】:
文件名称:react-IS4-auth-demo:使用React和Identity Server 4进行Web API身份验证
文件大小:2.36MB
文件格式:ZIP
更新时间:2021-05-23 14:36:31
C#
Bebop项目
介绍
项目Bebop是一个小演示,它使用oidc-client通过Identity Server 4来访问Web API来对React应用程序用户进行身份验证。
运行说明
从Visual Studio运行身份和Web API。
导航到Bebop.WebApp
使用npm install安装依赖项
使用npm start运行React应用
身份将在https://localhost:5001 。
Web API将在https://localhost:5002 。
React App将在https://localhost:3000 。
项目组成
该项目包括3个部分:
Bebop.WebApp:一个轻量级的React应用程序,它实现oidc-client和Redux以通过Identity Server 4处理用户身份验证。
Bebop.Identity: Identi