Skip to content

Releases: okta/okta-auth-js

@okta/[email protected]

13 Nov 00:27
Compare
Choose a tag to compare

Bug Fixes

  • #178 - Resolves an issue introduced with #171 causing the silent login flow to throw errors

@okta/[email protected]

07 Nov 00:22
c384006
Compare
Choose a tag to compare

Bug Fixes

  • #172 - Fixes an issue where default storage was read-only
  • #161 - ignoreSignature was not set when redirecting

Other

  • #171 - Scrub null/undefined values from authorize requests
  • #162 - Update dependencies

2.0.1

28 Aug 17:24
Compare
Choose a tag to compare

Bug Fixes

  • Fixed an problem, introduced in 2.0.0, that was causing tokens to be refreshed every time authClient.tokenManager.get('accessToken') was called.

2.0.0

14 Aug 23:48
ff1dec7
Compare
Choose a tag to compare

Breaking Changes

  • Token retrieval is now asyncronous to account for automatic token renewal.

    // ES2016+
    const accessToken = await authClient.tokenManager.get('accessToken');
    
    // Handle as a promise
    authClient.tokenManager.get('accessToken')
    .then(function(accessToken) {
      console.log(accessToken);
    });
  • Removed the following deprecated methods:

    • idToken.authorize
    • idToken.verify
    • idToken.refresh
    • idToken.decode

Fixes

Other

  • 3d6db9b - Removes deprecated methods (#115)
  • 953ef05 - Clears whitespace on URLs passed during authClient instantiation (#133 )
  • 6b335dd - Infer url from the issuer to simplify setup (#134)
  • 87f430c - Rename refresh to renew (#145)
  • 9c9e491 - Lock down dependencies with a package-lock.json file

For more details, please see the CHANGELOG.

1.17.0

03 May 22:07
Compare
Choose a tag to compare

Features

  • f872b34 Adds support for rememberDevice param in polling and verify. (#111)

Other notable changes

  • 2e772ee Updates version of grunt-contrib-jasmine (#109)

You can get the latest release from npm.

1.16.0

10 Apr 22:52
675cdd1
Compare
Choose a tag to compare

Bug fix

  • 675cdd1 - Fix an issue where the iframe triggering the fingerprint request was receiving an invalid origin. (#104)

You can get the latest release from npm.

1.15.0

06 Apr 04:46
59aa4ff
Compare
Choose a tag to compare

Bug fix

1.14.0

16 Mar 21:34
Compare
Choose a tag to compare

Features

You can get the latest release from npm.

1.13.0

26 Feb 19:40
3d70ed9
Compare
Choose a tag to compare

Features

  • fc38de5 - Add fingerprinting support (#81)
  • aa82bc4 - Add sendFingerprint option to signIn (#82)
  • 3d70ed9 - Add support for autoPush url param in poll and verify functions (#91)

Other notable changes

  • 36b347f - Prevent url typos that include -admin (#89)

You can get the latest release from npm.

1.9.0

23 Jan 18:50
4982c06
Compare
Choose a tag to compare

Features

  • 4982c06 - Add support for Webfinger API calls (#70)

Bug fixes:

  • f162b05 - Remove hash after parsing tokens to comply with the OIDC spec (#60)

You can get the latest release from npm.