Skip to content

sdd/jwt_serv

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published