@techieinme/oidc-rp
v0.10.6
Published
OpenID Connect Relying Party client library
Downloads
2
Readme
OpenID Connect Relying Party (oidc-rp)
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 [email protected]: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
- @solid/oidc-rp follows the Contributor Covenant Code of Conduct.
Contributors
- Christian Smith @christiansmith
- Dmitri Zagidulin @dmitrizagidulin
MIT License
Copyright (c) 2016 Anvil Research, Inc. Copyright (c) 2017-2019 The Solid Project