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 fromEtsy
constructor. - [Breaking] Add
codeVerifier
parameter tocreateAuthorizationURL()
andvalidateAuthorizationCode()
inAuth0
,Discord
,Spotify
,WorkOS
. - [Breaking] Replaced
domain
parameter withbaseURL
parameter forAuthentik
,GitLab
constructor. - [Breaking] Replaced
poolURL
parameter withdomain
parameter forAmazonCognito
constructor. - [Breaking] Add
scopes
parameter torefreshAccessToken()
inAmazonCognito
,MicrosoftEntraId
. - [Breaking] Update
MyAnimeList
constructor. - [Breaking] Stricter compliance to RFC 6749 for
OAuth2Client
. - Add
UnexpectedResponseError
andUnexpectedErrorResponseBodyError
errors. - Allow
null
asclientSecret
inAmazonCognito
,Auth0
,Authentik
,Bungie
,Discord
,GitLab
,KeyCloak
,MicrosoftEntraId
,Roblox
,Salesforce
,Spotify
,Twitter
,WorkOS
constructor. - Fix
scopes
parameter inStrava.createAuthorizationURL()
. - Add TikTok provider.