Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sdd/jwt_serv
https://github.com/sdd/jwt_serv
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sdd/jwt_serv
- Owner: sdd
- Created: 2015-05-28T11:43:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-28T12:22:09.000Z (3 months ago)
- Last Synced: 2024-10-05T01:33:26.843Z (3 months ago)
- Language: JavaScript
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jwt_serv
Koa, Passport, Seneca based authentication and authorisation skeleton framework that uses JWTs for rather than session cookies. Currently login via Twitter
only, WIP for Google and Facebook.## Architecture
jwt_serv splits the authentication and user management aspects into microservices based on Seneca. In contrast to Seneca's official seneca-auth and seneca-user,
the microservices are each split into two parts - the service itself, that communicates only via JSON through Seneca, and a Koa adapter that provides the
requisite routes to Koa and communicates via JSON only with Seneca. This means that, during development, it is straightforward to have all of the services
launched in a single app, but it is trivial to split out the auth and user services separately so that the system as a whole can be flexibly architected.