Changelog
2.0.0
createAuthorizationURL()
no longer returns a Promise
validateAuthorizationCode()
and refreshAccessToken()
returns OAuth2Tokens
validateAuthorizationCode()
and refreshAccessToken()
can throw one of OAuth2RequestError
, ArcticFetchError
, or Error
openid
and those required by the providerApple
, GitHub
, GitLab
, MicrosoftEntraId
, MyAnimeList
, Okta
, Osu
, and Salesforce
options.scope
parameter from createAuthorizationURL()
OAuth2Provider
and OAuth2ProviderWithPKCE
createAuthorizationURL()
provider methodsrefreshAccessToken()
to GitHub
createAuthorizationURL()
returns AuthorizationCodeAuthorizationURL
decodeIdToken()
@oslojs/oauth2
dependency