Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.24 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.24 KB

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