From dd5f5d8e78ce062a4aa881dff95a94f2a0fd405a Mon Sep 17 00:00:00 2001 From: Benjamin Hsieh Date: Thu, 17 May 2018 22:41:39 +0000 Subject: [PATCH] twitch: update to new endpoint Update the OAuth APIs for Twitch: https://discuss.dev.twitch.tv/t/oauth-kraken-migration/14606 Change-Id: I6911d0ba6db7ad07e7ddd277713ec72cc3e00ab5 GitHub-Last-Rev: a3b37aecafca7fd248c55129ae016461a4e94ae8 GitHub-Pull-Request: golang/oauth2#291 Reviewed-on: https://go-review.googlesource.com/113655 Reviewed-by: Brad Fitzpatrick --- twitch/twitch.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twitch/twitch.go b/twitch/twitch.go index 8c5f06aae..0838e7c15 100644 --- a/twitch/twitch.go +++ b/twitch/twitch.go @@ -14,6 +14,6 @@ import ( // For more information see: // https://dev.twitch.tv/docs/authentication var Endpoint = oauth2.Endpoint{ - AuthURL: "https://api.twitch.tv/kraken/oauth2/authorize", - TokenURL: "https://api.twitch.tv/kraken/oauth2/token", + AuthURL: "https://id.twitch.tv/oauth2/authorize", + TokenURL: "https://id.twitch.tv/oauth2/token", }