Skip to content

alanzhou-okta/okta-auth-js

 
 

Repository files navigation

Build Status

Okta Auth JS

Okta Auth JS is a wrapper around Okta's authentication API. It can be used to get an Okta session cookie or an ID token.

If you want to use the SDK, see the instructions on the Okta Auth SDK developer page.

If you wish to contribute to okta-auth-js, please read the following contributing guidelines

If you want to modify the SDK, use the following instructions.

Building the SDK

  1. Clone the SDK repo.

    [path]$ git clone git@github.com:okta/okta-auth-js.git
  2. Navigate to the new okta-auth-js folder, and install the Okta node dependencies.

    [path/okta-auth-js]$ npm install
  3. Build the SDK. The output will be under dist/browser/. The standalone version is OktaAuthReqwest.min.js.

    [path/okta-auth-js]$ npm run build

Build and test commands

Command Description
npm run build Build the SDK
npm test Run unit tests
npm run lint:report Run linting tests

About

The official js wrapper around Okta's auth API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.2%
  • Shell 0.8%