@techieinme/oidc-rp

    0.10.6 • Public • Published

    OpenID Connect Relying Party (oidc-rp)

    Build Status npm version

    OpenID Connect Relying Party for Node.js and the browser.

    • [x] Dynamic Configuration and Client Registration
    • [x] Authorization Code, Implicit, and Hybrid grants
    • [x] Relying Party initiated logout
    • [ ] Refresh grant
    • [ ] Client Credentials grant
    • [ ] Key rotation using JWK kid value
    • [ ] Session management
    • [ ] front- and back-channel logout
    • [X] Request parameters as JWT
    • [ ] Claims request parameter
    • [ ] Claims language tags
    • [ ] OAuth 2.0 Bearer Token requests

    Table of Contents

    Security

    ...

    Background

    ...

    Install

    $ npm install @solid/oidc-rp --save

    Usage

    Node.js

    const RelyingParty = require('@solid/oidc-rp')
    

    Browser

    When loaded into an HTML page via <script src="./dist/oidc.rp.min.js"></script>, the library is exposed as a global var, OIDC.

    Develop

    Install

    $ git clone git@github.com:solid/oidc-rp.git
    $ cd oidc-rp
    $ npm install

    Build

    Important: If you're using this library as a dependency and you plan to use Webpack, don't forget to add the following lines to your webpack.config.js externals: section:

      externals: {
        'node-fetch': 'fetch',
        '@sinonjs/text-encoding': 'TextEncoder',
        'whatwg-url': 'window',
        'isomorphic-webcrypto': 'crypto'
      }

    To build a Webpack-generated bundle:

    npm run dist

    Test

    npm test

    Maintainers

    • Dmitri Zagidulin

    Contribute

    Style guide

    • ES6
    • Standard JavaScript
    • jsdocs

    Code of conduct

    Contributors

    MIT License

    The MIT License

    Copyright (c) 2016 Anvil Research, Inc. Copyright (c) 2017-2019 The Solid Project

    Keywords

    none

    Install

    npm i @techieinme/oidc-rp

    DownloadsWeekly Downloads

    9

    Version

    0.10.6

    License

    MIT

    Unpacked Size

    461 kB

    Total Files

    24

    Last publish

    Collaborators

    • techieinme