{"repo":"zalando-incubator/authmosphere","free":true,"listed":false,"github":"https://github.com/zalando-incubator/authmosphere","clone":"git clone https://github.com/zalando-incubator/authmosphere.git","description":"A library to support OAuth2 workflows in JavaScript projects","language":"TypeScript","stars":54,"topics":["oauth2","express-middleware","typescript","authentication"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"authmosphere {🌍} Introduction {authmosphere} is a library to support and test OAuth 2.0 workflows in JavaScript projects. It's implemented in TypeScript which improves the development experience via implicit documentation with types and first-class IDE support. The library itself is transpiled to JavaScript (ES6) so there is no need for a TypeScript compiler to use authmosphere in JavaScript projects. The following OAuth flows are supported: Authorization Code Flow Client Credentials Grant Resource Owner Password Credentials Grant Refresh Token Grant The Authmosphere JavaScript API supports: Express middlewares to simplify authentication and authorization TokenCache service to manage access tokens OAuth tooling getAccessToken - helper to request access tokens getTokenInfo - helper to validate access tokens Mock tooling for OAuth 2.0 endpoints to enable decent unit and integration tests Usage For a comprehensive documentation checkout out the API documentation. Request and cache tokens Secure express endpoints Setup node = 6.0.0 required to consume this library npm install authmosphere OAuth documentation See OAuth 2.0 RFC for more information. Changelog and Migration See the changelog for more information. See the migration guide for more information. Development clone this repo npm install to build: npm run build to lint: npm run lint Testing npm test - runs all tests npm run unit-test - runs unit tests npm run integration-test - runs integration tests --- License MIT Licen","default_branch":null,"files":null,"tree":[],"storefront":"/r/zalando-incubator","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zalando-incubator/authmosphere/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}