Skip to content

The getRedirectUri() code sample in the README is invalid #384

@koconnor3

Description

@koconnor3

The getRedirectUri() code sample is invalid. getService() is not defined, and neither is OAuth2.getService()

/**
 * Logs the redirect URI to register.
 */
function logRedirectUri() {
  var service = getService();
  Logger.log(service.getRedirectUri());
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions