auth0-express-api-samples - Auth0 Integration Samples for Node Express REST API Services

  •        24

These samples demonstrate how to create an API with Express which only permits access to resources if a valid access token is included. This verification is done by validating the signature and claims in a JSON Web Token (JWT) signed by Auth0. These samples do not demonstrate how to sign a JWT but rather assume that a user has already been authenticated by Auth0 and holds an access token for API access. For information on how to use Auth0 to authenticate users, see the docs.

https://auth0.com/docs/quickstart/backend/nodejs
https://github.com/auth0-samples/auth0-express-api-samples

Tags
Implementation
License
Platform

   




Related Projects

auth0-react-samples - Auth0 Integration Samples for React Applications

  •    Javascript

These samples demonstrate how to add authentication to a React application with Auth0. Each folder contains a distinct application so that various Auth0 features can be viewed in isolation. You can read about these examples in our React Quickstart. These samples use Auth0's Universal Login which offers the fastest, most secure, and most feature-rich way to add authentication to your app.

auth0-angular-samples - Auth0 Integration Samples for Angular 2+ Applications

  •    TypeScript

These samples demonstrate how to add authentication to an Angular application with Auth0. Each folder contains a distinct application so that various Auth0 features can be viewed in isolation. You can read about these examples in our Angular Quickstart. These samples use Auth0's universal login page which offers the fastest, most secure, and most feature-rich way to add authentication to your app.

nextjs-auth0 - Next.js SDK for signing in with Auth0

  •    TypeScript

The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications. Create a Regular Web Application in the Auth0 Dashboard.

SuperTokens - Open source alternative to Auth0 / Firebase Auth / AWS Cognito

  •    Java

SuperTokens is an open source alternative to Auth0 / Firebase Auth / AWS Cognito. It supports authentication using email ID and password, Social logins (Google, Facebook, Apple, Github + adding custom providers), Forgot password flow using email, Secure session management, Email verification.


auth0-angular - Auth0 with AngularJS

  •    Javascript

Angular SDK to use with Auth0

example-auth0 - A simple example that shows how to use Nuxt.js with Auth0.

  •    Vue

This example is inspired by next.js-auth0 made by Luís Rudge.

socketio-jwt - Authenticate socket.io incoming connections with JWTs

  •    Javascript

Authenticate socket.io incoming connections with JWTs. This is useful if you are build a single page application and you are not using cookies as explained in this blog post: Cookies vs Tokens. Getting auth right with Angular.JS. This repo is supported and maintained by Community Developers, not Auth0. For more information about different support levels check https://auth0.com/docs/support/matrix .

nodejs-jwt-authentication-sample - A NodeJS API that supports username and password authentication with JWTs

  •    Javascript

You can do a POST to /users to create a new user. The id_token and access_token are signed with the secret located at the config.json file. The id_token will contain the username and the extra information sent, while the access_token will contain the audience, jti, issuer and scope.

reindex-api - GraphQL backend as a service

  •    Javascript

Note: This project is no longer maintained. The source code is released under the license specified in file LICENSE. reindex-api is a multi-tenant, hosted GraphQL database solution. reindex-api converts a JSON based schema into a GraphQL API in addition to creating a database storage (MongoDB or RethinkDB) underneath. GraphQL API is fully Relay compatible and contains CRUD operations as entry points. Input is Relay-aware and declarative. Additionally, reindex-api provides Social Login with 5 providers (Auth0, Facebook, Google, Twitter and Github). Functionality of reindex-api can be extended by configuring hooks that call external web services. It also provides a rich permission system based on defining graph paths to the user type.

docs - Auth0 documentation

  •    HTML

This is the repository for the Auth0 documentation.

cosmos - Auth0 Design System

  •    Javascript

Auth0 Design System

permit - An unopinionated authentication library for building Node.js APIs.

  •    Javascript

An unopinionated authentication library for building Node.js APIs. Permit makes it easy to add an authentication layer to any Node.js API. It can be used with any of the popular server frameworks (eg. Express, Koa, Hapi, Fastify) and it can be used for any type of API (eg. REST, GraphQL, etc.) due to its simple, unopinionated design.

bell - Third-party login plugin for hapi

  •    Javascript

Third-party authentication plugin for hapi.bell ships with built-in support for authentication using Facebook, GitHub, Google, Google Plus, Instagram, LinkedIn, Slack, Stripe, Twitter, Yahoo, Foursquare, VK, ArcGIS Online, Windows Live, Nest, Phabricator, BitBucket, Dropbox, Reddit, Tumblr, Twitch, Mixer, Salesforce, Pinterest, Discord, DigitalOcean, AzureAD, trakt.tv and Okta. It also supports any compliant OAuth 1.0a and OAuth 2.0 based login services with a simple configuration object.

vue-jwt-authentication

  •    Vue

This example shows how to do JWT authentication in Vue.js apps. It uses Auth0's nodejs-jwt-authentication-sample, a NodeJS backend that serves Chuck Norris quotes. Clone the repo and then install the server submodule and dependencies.

ts-express-decorators - :triangular_ruler: A TypeScript Framework on top of Express

  •    TypeScript

Ts.ED is a framework on top of Express to write your application with TypeScript (or in ES6). It provides a lot of decorators to write your code. Important! TsExpressDecorators requires Node >= 6, Express >= 4, TypeScript >= 2.0 and the experimentalDecorators, emitDecoratorMetadata, types and lib compilation options in your tsconfig.json file.

redux-auth

  •    Javascript

This is a sample of how to implement JWT authentication in React and Redux apps. It uses Auth0's NodeJS JWT Authentication Sample to authenticate users and retrieve quotes from a protected endpoint. The sample is well-informed by the official Redux examples.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.