Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Show all 6 items in the list
Tags used for linking issues. [ID: 1172495]
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
Here's the code I'm using:
function getOAuthService() {
return OAuth2.createService('MyService')
.setAuthorizationBaseUrl('
.setTokenUrl('
.setClientId(CLIENT_ID)
.setClientSecret(CLIENT_SECRET)
.setCallbackFunction('authCallback')
.setPropertyStore(PropertiesService.getUserProperties())
.setRefreshToken(REFRESH_TOKEN)
.setScope('
}
I've confirmed that the OAuth2 library is correctly added to my project, and I've tried re-initializing the library, but the error persists.
Any help in resolving this issue would be greatly appreciated.