Oidc Client Js

OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
Alternatives To Oidc Client Js
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Passport21,79781,2724,3896 days ago32May 20, 2022375mitJavaScript
Simple, unobtrusive authentication for Node.js.
Hydra14,42994 days ago1May 08, 201986apache-2.0Go
OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Works with Hardware Security Modules. Compatible with MITREid.
Cas10,32862912 days ago192July 21, 20231apache-2.0Java
Apereo CAS - Identity & Single Sign On for all earthlings and beyond.
Identityserver48,9443143949 months ago99March 18, 2021apache-2.0C#
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
Authlib3,9531622162 days ago39June 25, 202359bsd-3-clausePython
The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.
Openiddict Core3,72543325 days ago41August 09, 202319apache-2.0C#
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
Oathkeeper3,026217 days ago181July 18, 202360apache-2.0Go
A cloud native Identity & Access Proxy / API (IAP) and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests. Inspired by the BeyondCorp / Zero Trust white paper. Written in Go.
Node Oidc Provider2,80825972 days ago329May 30, 20231mitJavaScript
OpenID Certified™ OAuth 2.0 Authorization Server implementation for Node.js
Appauth Android2,55112042 days ago8December 22, 2021189apache-2.0Java
Android client SDK for communicating with OAuth 2.0 and OpenID Connect providers.
Pac4j2,3171461472 days ago108August 04, 2023apache-2.0Java
Security engine for Java (authentication, authorization, multi frameworks): OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Alternatives To Oidc Client Js
Select To Compare


Alternative Project Comparisons
Readme

No Longer Maintained

This library, while functional, is no longer being maintained.

A successor project that is showing great progress in updating and modernizing is "oidc-client-ts" and can be found here.


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.

Popular Openid Projects
Popular Oauth Projects
Popular Security Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Oauth
Amd
Polyfill
Openid