Closed pilcrowonpaper closed 3 months ago
createAuthorizationURL()
Promise
validateAuthorizationCode()
refreshAccessToken()
OAuth2Tokens
OAuth2RequestError
ArcticFetchError
Error
openid
Apple
GitHub
GitLab
MicrosoftEntraId
MyAnimeList
Okta
Osu
Salesforce
options.scope
OAuth2Provider
OAuth2ProviderWithPKCE
Slack
SlackApp
SlackOpenID
Keycloak
AuthorizationCodeAuthorizationURL
decodeIdToken()
Major changes
createAuthorizationURL()
no longer returns aPromise
validateAuthorizationCode()
andrefreshAccessToken()
returnsOAuth2Tokens
validateAuthorizationCode()
andrefreshAccessToken()
can throw one ofOAuth2RequestError
,ArcticFetchError
, orError
openid
and those required by the providerApple
,GitHub
,GitLab
,MicrosoftEntraId
,MyAnimeList
,Okta
,Osu
, andSalesforce
options.scope
parameter fromcreateAuthorizationURL()
OAuth2Provider
andOAuth2ProviderWithPKCE
Slack
withSlackApp
andSlackOpenID
Keycloak
Minor changes
refreshAccessToken()
toGitHub
createAuthorizationURL()
returnsAuthorizationCodeAuthorizationURL
decodeIdToken()