【文件属性】:
文件名称:strapi-auth0-example:使用Auth0和Strapi的简单身份验证示例
文件大小:2.11MB
文件格式:ZIP
更新时间:2021-05-25 08:12:49
auth0 sso strapi sso-authentication authentication-flow
React认证流程
因为Auth0从v3.4.5开始在Strapi中而被归档: ://forum.strapi.io/t/new-release-strapi-v3-4-5/2446
基本的React应用程序,显示了如何使用JSON Web Tokens对用户进行身份验证。
本示例使用Strapi添加Auth0身份验证。 有关更多信息,请查看 。
设置
1-克隆存储库。
git clone git@github.com:heziode/strapi-auth0-example.git
2 —转到login-react示例文件夹并安装前端应用程序依赖项。
cd login-react/react-login-front-end-app
npm install
3 —启动前端应用服务器。
npm start
4-启动Strapi API:
cd strapi-auth0-