Git Product home page Git Product logo

vue-auth0-api's Introduction

基于vue框架auth0验证登录获取node服务端对应用户的权限

项目设置

npm install

组态

需要使用个人的Auth0域和客户端ID配置该项目,以便身份验证流正常运行。

auth_config.json

{
  "domain": "<YOUR AUTH0 DOMAIN>",
  "clientId": "<YOUR AUTH0 CLIENT ID>",
  "audience": "<YOUR AUTH0 API IDENTIFIER>",
}

编译启动开发

npm run serve

部署方式

编译并最小化生产

npm run build

Docker构建

要构建和运行Docker映像,请在Windows exec.sh或exec.ps1Windows上运行。

运行 测试

npm run test

整理和修复文件

npm run lint

什么是Auth0?

Auth0可帮助您:

  • 使用多个身份验证源添加身份验证,这些身份验证源可以是社交身份(例如 Google,Facebook,Microsoft帐户,LinkedIn,GitHub,Twitter,Box,Salesforce等),也可以是企业身份系统(例如Windows Azure AD,Google Apps,Active Directory,ADFS或任何SAML身份)提供者。

  • 通过更传统的 **用户名/密码数据库**添加身份验证。

  • 添加对 链接不同用户帐户 和同一用户的支持。

  • 支持生成签名的Json Web Tokens以调用您的API并安全地传递用户身份。

  • 用户登录方式分析时间和地点的。

  • 通过JavaScript 规则从其他来源提取数据并将其添加到用户个人资料中。

Auth0官网

Auth0

vue-auth0-api's People

Watchers

shizhikai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.