{"repo":"auth0/passport-auth0","free":true,"listed":false,"github":"https://github.com/auth0/passport-auth0","clone":"git clone https://github.com/auth0/passport-auth0.git","description":"Auth0 authentication strategy for Passport.js","language":"JavaScript","stars":305,"topics":["dx-sdk","passport"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"The Auth0 authentication strategy for Passport.js, an authentication middleware for Node.js that can be unobtrusively dropped into any Express-based web application. :books: Documentation - :rocket: Getting Started - :speech balloon: Feedback Documentation - Docs site - explore our docs site and learn more about Auth0. Getting started :information source: Maintenance Advisory: With the release of https://github.com/auth0/express-openid-connect, we will no longer be adding new features to this library, however we will continue to maintain this library and fix issues. You can read more about the release of our new library at https://auth0.com/blog/auth0-s-express-openid-connect-sdk/ Installation The Auth0 Passport strategy is installed with npm. Customization State parameter The Auth0 Passport strategy enforces the use of the state parameter in OAuth 2.0 authorization requests and requires session support in Express to be enabled. If you require the state parameter to be omitted (which is not recommended), you can suppress it when calling the Auth0 Passport strategy constructor: More on state handling here. Scopes If you want to change the scope of the ID token provided, add a scope property to the authenticate configuration passed when defining the route. These must be OIDC standard scopes. If you need data outside of the standard scopes, you can add custom claims to the token. Force a Specific IdP If you want to force a specific identity provider you can use: If you force an ","default_branch":null,"files":null,"tree":[],"storefront":"/r/auth0","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/auth0/passport-auth0/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."}