项目作者: hafidium

项目描述 :
Basic jwt authentication
高级语言: JavaScript
项目地址: git://github.com/hafidium/auth-jwt.git
创建时间: 2017-12-02T08:43:59Z
项目社区:https://github.com/hafidium/auth-jwt

开源协议:MIT License

下载


Hello Auth


Requirements

Let’s add an auth layer to our apps!

Input

  • New or existing backend project
  • Frontend project are not mandatory yet

Process

  • Architect your project to gain an auth layer
  • Implement the routes and auth into it

Output

  • Secured app

Level 0

  • Plan and design your app to be secured with an auth layer: password, token, session, etc
  • Remember to separate public and authenticated routes

Level 1

  • Secure your routes with an auth check/middleware
  • Use a specific library if you need

Level 2

  • Implement your frontend with the enhanced backend

Level 3

  • Use OAuth with social media platforms to take it further