github pilcrowonpaper/arctic v2.0.0

latest releases: v3.3.0, v3.2.4, v3.2.3...
4 months ago

Major changes

  • createAuthorizationURL() no longer returns a Promise
  • validateAuthorizationCode() and refreshAccessToken() returns OAuth2Tokens
  • validateAuthorizationCode() and refreshAccessToken() can throw one of OAuth2RequestError, ArcticFetchError, or Error
  • Scopes are no longer set by default, including openid and those required by the provider
  • Updated parameters for Apple, GitHub, GitLab, MicrosoftEntraId, MyAnimeList, Okta, Osu, and Salesforce
  • Removed options.scope parameter from createAuthorizationURL()
  • Removed OAuth2Provider and OAuth2ProviderWithPKCE
  • Update createAuthorizationURL() provider methods

Minor changes

  • Add Polar provider.
  • Add Start.gg provider.
  • Add Bungie.Net provider.
  • Add refreshAccessToken() to GitHub
  • createAuthorizationURL() returns AuthorizationCodeAuthorizationURL
  • Add decodeIdToken()
  • Add token revocation API

Patch changes

  • Remove @oslojs/oauth2 dependency
  • Fix Amazon Cognito provider

Don't miss a new arctic release

NewReleases is sending notifications on new releases.