Skip to content

Serverless Auth with Serverless framework and nodejs.

Notifications You must be signed in to change notification settings

lberaldodev/serverless-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INFO

NodeJS serverless function para auth utilizando JWT e mock de escopos.

Os mocks de usuarios estao em: /db/users.json.

Para fazer login, basta utilizar o verbo:

POST/login

Para testar os scopes basta rodar:

GET/public GET/private

cada usuario possui seu escopo e só deve visualizar aquilo que seu escopo permite.

About

Serverless Auth with Serverless framework and nodejs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published