- Updated peer dependencies [34042f6]
- @guardian/[email protected]
- 064c5fb: Fixes for new eslint config
- db73c76: Noop to force release.
- Updated dependencies [cb19d46]
- Updated dependencies [59b350f]
- @guardian/[email protected]
- 80eea1d: Small refactors to allow Eslint updates
- e5b15dc: Update TypeScript support to
v5.5.2
.
- Updated dependencies [a5498b8]
- Updated dependencies [e5b15dc]
- @guardian/[email protected]
- 0382052: 1. All packages are now ES modules, although they should be compatible with CommonJS environments. 2. Adds entry points for projects that can consume
package.json#exports
, alongsidemain
.
- 145fb9b: Optimise
isSignedInWithAuthState
method so that it does one call simultaneously if called multiple times
- 707a035: Correctly handle
GU_SO
check inisSignedInWithAuthState
method
- f2f4527: Update
isSignedIn
logic to useGU_SO
cookie correctly - a75996f: Remove
GU_U
cookie if we fail to get tokens with it, as it's likely invalid
-
Update TS to version 5.3.3 and tslib to 2.6.2
-
Updated dependencies
- @guardian/[email protected]
- 9e0cb43: Linting fixes
- 5a4d75a: Make strict clock skew checking optional
- e41cfa7: Release
@guardian/identity-auth
1.0. We're using this package in PROD and has multiple consumers so we should expect it to be stable now.
- bae0b85: - Fix clock skew calculation issue
- Increase oauth timeout from 12 seconds to 30 seconds
- b25f0bf: Add functionality to refresh the user's Okta and Identity session, if required, once every 30 days. Controlled through the new
idCookieSessionRefresh
option, which defaults tofalse
.
- 870f3bd: - Add
decodeTokens
method toToken
class- Refactor library so that we only store required values in
verifyTokens
local storage, and now derive other values from decoding the token - Rename
verifyToken
method toverifyTokens
inToken
class to better reflect functionality - Use access token to verify timestamps, instead of id tokens
- Refactor library so that we only store required values in
- c4e6c09: Account for clock skew when verifying tokens
- 3dfc301: - Add
AutoRenewService
for automatically renewing tokens before they expire- Update type definitions for
IdentityAuthState
- Update type definitions for
- 2784f00: Only use a single promise if
getWithoutPrompt
called multiple times
- Update Typescript to v5.1.3 and tslib to v2.5.3
- b479354: Pre-release: Adds
IdentityAuth
library for authenticating and authorising users within the Guardian's identity platform hosted by Okta using OAuth2 and OpenID Connect within a client-side, browser-based context.