oidc-client

WebJar for oidc-client

License

License

Apache-2.0
Categories

Categories

CLI User Interface
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

oidc-client
Last Version

Last Version

1.11.5
Release Date

Release Date

Type

Type

jar
Description

Description

oidc-client
WebJar for oidc-client
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/IdentityModel/oidc-client-js

Download oidc-client

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/oidc-client/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>oidc-client</artifactId>
    <version>1.11.5</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/oidc-client/
implementation 'org.webjars.npm:oidc-client:1.11.5'
// https://jarcasting.com/artifacts/org.webjars.npm/oidc-client/
implementation ("org.webjars.npm:oidc-client:1.11.5")
'org.webjars.npm:oidc-client:jar:1.11.5'
<dependency org="org.webjars.npm" name="oidc-client" rev="1.11.5">
  <artifact name="oidc-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='oidc-client', version='1.11.5')
)
libraryDependencies += "org.webjars.npm" % "oidc-client" % "1.11.5"
[org.webjars.npm/oidc-client "1.11.5"]

Dependencies

compile (5)

Group / Artifact Type Version
org.webjars.npm : acorn jar [7.4.1,8)
org.webjars.npm : serialize-javascript jar [4.0.0,5)
org.webjars.npm : core-js jar [3.8.3,4)
org.webjars.npm : base64-js jar [1.5.1,2)
org.webjars.npm : crypto-js jar [4.0.0,5)

Project Modules

There are no modules declared in this project.

npm package

oidc-client

Library to provide OpenID Connect (OIDC) and OAuth2 protocol support for client-side, browser-based JavaScript client applications. Also included is support for user session and access token management.

Install

Node.js

Node.js v4.4 or later required.

NPM

npm install oidc-client --save

NOTE: if you're not already using babel-polyfill make sure you run npm install --save babel-polyfill as well. Then include it in your build.

CommonJS

If you don't use a package manager or a module loader, then you can get the library from the dist folder on github here.

Including in the browser

If you intend to use this library directly in a browser and are not using UMD/AMD then there is a compiled version in the ~/dist folder. It is already bundled/minified and contains the necessary dependencies and polyfills (mainly for ES6 features such as Promises).

If you are using UMD/AMD and/or you already have included an ES6 polyfill (such as babel-polyfill.js) then you can include the UMD packaged version of the file from the ~/lib folder.

Building the Source

git clone https://github.com/IdentityModel/oidc-client-js.git
cd oidc-client-js
npm install
npm run build

Running the Sample

npm start

and then browse to http://localhost:15000.

Running the Tests

npm test

Docs

Some initial docs are here.

Feedback, Feature requests, and Bugs

All are welcome on the issue tracker.

org.webjars.npm

IdentityModel

Helpers and client libraries for OpenID Connect, OAuth 2.0 and claims-based Identity

Versions

Version
1.11.5
1.10.1
1.7.1
1.7.0