github pilcrowonpaper/arctic v3.0.0

latest releases: v3.7.0, v3.6.1, v3.6.0...
8 months ago

Arctic v3 is here! This is a small major release that adds support for public OAuth clients. There are only a few breaking changes and most breaking changes are small.

npm install arctic@latest

Changes

  • [Breaking] Remove clientSecret parameter from Etsy constructor.
  • [Breaking] Add codeVerifier parameter to createAuthorizationURL() and validateAuthorizationCode() in Auth0, Discord, Spotify, WorkOS.
  • [Breaking] Replaced domain parameter with baseURL parameter for Authentik, GitLab constructor.
  • [Breaking] Replaced poolURL parameter with domain parameter for AmazonCognito constructor.
  • [Breaking] Add scopes parameter to refreshAccessToken() in AmazonCognito, MicrosoftEntraId.
  • [Breaking] Update MyAnimeList constructor.
  • [Breaking] Stricter compliance to RFC 6749 for OAuth2Client.
  • Add UnexpectedResponseError and UnexpectedErrorResponseBodyError errors.
  • Allow null as clientSecret in AmazonCognito, Auth0, Authentik, Bungie, Discord, GitLab, KeyCloak, MicrosoftEntraId, Roblox, Salesforce, Spotify, Twitter, WorkOS constructor.
  • Fix scopes parameter in Strava.createAuthorizationURL().
  • Add TikTok provider.

Don't miss a new arctic release

NewReleases is sending notifications on new releases.