A few years ago I made this OAuth middleware for Express, Koa and Hapi called Grant. Recently I made some updates to it, so I decided to share it again.Grant's main design goal was to enable the users to use multiple login providers without the need to write any glue code, and without the need of third-party module for every provider (like in Passport). It's as simple as adding a short JSON configuration file to your project.Grant is currently tested against 180 OAuth providers, meaning that it supports quite a bit of quirks, but any provider conforming to the OAuth spec should work out of the box.What's even more is that Grant is an OAuth proxy, meaning that you can deploy it as a separate service and access it from another server written in any programming language.
Submitted November 14, 2018 at 07:24AM by simovelichkov
No comments:
Post a Comment