Skip to content

1.0.0

Latest
Compare
Choose a tag to compare
@typeofweb typeofweb released this 17 Nov 09:47
· 6 commits to main since this release
637c074

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