Skip to content

Releases: saleor/auth-sdk

1.0.0

17 Nov 09:47
637c074
Compare
Choose a tag to compare

Features

  • Default in-memory storage for access token can be now overridden by providing the accessTokenStorage argument in SaleorAuthClient
  • This enables support for server-side auth flows where access token is stored in cookies
  • New export path is added: @saleor/auth-sdk/next/server that exports getNextServerCookiesStorage meant for best compatibility with Next.js 13+ App Router. See this example for details.

BREAKING CHANGES

  • storage argument in SaleorAuthClient has been renamed to refreshTokenStorage

0.14.0

26 Oct 18:18
1d5feb6
Compare
Choose a tag to compare

What's Changed

  • Update readme by @mmiszy in #19
  • Make token grace period configurable by @mmiszy in #21
  • Add next.js 14 compatibility by @mmiszy in #23

Full Changelog: 0.13.1...0.14.0

0.13.0

20 Oct 16:10
9718373
Compare
Choose a tag to compare

What's Changed

  • Use TypeDocumentString instead of TypeDocumentNode by @mmiszy in #18

Full Changelog: 0.12.0...0.13.0

0.12.0

20 Oct 16:09
4b040b1
Compare
Choose a tag to compare

What's Changed

  • Allow adding auth header to third-party domains by @mmiszy in #13

Full Changelog: 0.11.0...0.12.0

0.11.0

22 Aug 03:49
bcac79b
Compare
Choose a tag to compare

What's Changed

  • add token expiry check in handleRequestWithTokenRefresh by @Jyrno42

Full Changelog: 0.10.0...0.11.0

0.10.0

24 Jul 11:26
5427665
Compare
Choose a tag to compare

What's Changed

Breaking Change

  • removed the useSaleorAuthClient hook in favor of the createSaleorAuthClient function
  • removed the hook wrapper for Apollo client
  • removed the hook wrapper for urql client
  • removed detach for checkout

Full Changelog: 0.9.0...0.10.0

0.9.0

15 Jun 13:36
41a4029
Compare
Choose a tag to compare

What's Changed

  • Add OpenID Connect plugin support by @zaiste in #4

Full Changelog: 0.8.0...0.9.0

0.8.0

15 Jun 13:38
79a195f
Compare
Choose a tag to compare

What's Changed

  • domain specific storage by @mmiszy in #3
  • optional dependencies cleanup @mmiszy in #3

Full Changelog: 0.7.0...0.8.0

0.7.0

15 Jun 13:39
af1db07
Compare
Choose a tag to compare

What's Changed

  • JWT respect the iss field by @mmiszy in #1
  • re-arrange tests

Full Changelog: 0.6.0...0.7.0

0.6.0

15 Jun 13:41
11e1218
Compare
Choose a tag to compare

What's Changed

  • use the default value for client storage by @zaiste
  • remove SSR Apollo Client creator by @zaiste

Full Changelog: 0.5.1...0.6.0