Skip to content

Instantly share code, notes, and snippets.

View johnmarkstrickland's full-sized avatar

John-Mark Strickland johnmarkstrickland

View GitHub Profile
import * as coda from "@codahq/packs-sdk";
export const pack = coda.newPack();
pack.setUserAuthentication({
type: coda.AuthenticationType.OAuth2,
authorizationUrl: "https://id.twitch.tv/oauth2/authorize",
tokenUrl: "https://id.twitch.tv/oauth2/token",
scopes: ["user:read:email", "channel:manage:schedule", "user:read:follows"],
additionalParams: { response_type: "code" },
scopeDelimiter: " ",