Code Monkey home page Code Monkey logo

todosas-password's Introduction

todosas-bearer-reference

This app illustrates how to build an OAuth 2.0 server using Express, OAuth2orize, and Passport. Use this example as a starting point for your own authorization server.

Quick Start

To run this app, clone the repository and install dependencies:

$ git clone https://github.com/oauth2orize/todosas-bearer-reference.git
$ cd todosas-bearer-reference
$ npm install

Then start the server.

$ npm start

Overview

This example illustrates how to build an OAuth 2.0 authorization server that supports clients using the web-based authorization code and implicit grants. The access tokens issued to clients are bearer tokens, the contents of which are stored in a SQLite database.

This app implements sign in and consent functionality. User interaction is performed via HTML pages and forms, which are rendered via EJS templates and styled with vanilla CSS. Data is stored in a SQLite database.

This app exposes OAuth 2.0 endpoints, allowing it to manage access to other apps and APIs that rely on this server. This provides the ability to offer single sign-on (SSO) to a suite of apps and control third-party access to protected APIs.

License

The Unlicense

Credit

Created by Jared Hanson

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.