Skip to content

Releases: saleor/auth-sdk

1.0.3

17 Sep 06:20
6dc012e

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.2...1.0.3

1.0.2

04 Apr 11:12
64a7844

Choose a tag to compare

Thanks @p-febis for adding Next.js 15 support

See updated readme for update usage

What's Changed

New Contributors

Full Changelog: 1.0.1...1.0.2

1.0.0

17 Nov 09:47
637c074

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

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

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

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

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

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

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

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