GithubHelp home page GithubHelp logo

kopi-id's Introduction

Kopi ID

A simple callback based OpenID Provider framework.

Installation

Using npm: npm install --save kopi-id

Usage

const KopiId = require('kopi-id');

const config = { ... } // See example/config.js
const kopiId = KopiId(config);

expressApp.use('/kopiId', kopiId.express);
  • Authentication Endpoint GET/POST /auth, e.g. http://localhost:8080/kopiId/auth
  • Token Endpont: POST /token, e.g. http://localhost:8080/kopiId/token
  • User Info Endpoint GET/POST /userinfo, e.g. http://localhost:8080/kopiId/userinfo

Note: all endpoints follows the specification of Open ID Connect Core 1.0

Pending Features

  • JWT Assymetrical Signature (Section 10.2)
  • ID Token Asymmetrical Signature (Section 15.1)
  • Request Object support (Section 6)
  • Offline Access / Refresh Token support (Section 12)
  • Pairwise Subject Identifier support (Section 8.1)
  • Login Hint parameter usage support (LOW PRIORITY)
  • Display parameter usage support (LOW PRIORITY)
  • UI Locale parameter usage support (LOW PRIORITY)
  • Claims Locale parameter usage support (LOW PRIORITY)
  • ACR Values parameter usage support (LOW PRIORITY)
  • Signed User Info support (Section 5.3.2)
  • Encrypted User Info support (Section 5.3.2)
  • Private Key JWT support (LOW PRIORITY)
  • Aggregated Claims support (Section 5.6) (LOW PRIORITY)
  • Distributed Claims support (Section 5.6) (LOW PRIORITY)
  • Self-Issued Openid Provider support (Section 7) (LOW PRIORITY)
  • Third Party Login support (Section 4)

Reference: https://openid.net/specs/openid-connect-core-1_0.html

Contributions

Contributions to the Library are welcomed.

kopi-id's People

Contributors

yhpoh91 avatar

Watchers

James Cloos avatar  avatar

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.