Skip to content

Commit dd5f5d8

Browse files
tanookibenbradfitz
authored andcommitted
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: a3b37ae GitHub-Pull-Request: golang#291 Reviewed-on: https://go-review.googlesource.com/113655 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 6e81df8 commit dd5f5d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

twitch/twitch.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ import (
1414
// For more information see:
1515
// https://dev.twitch.tv/docs/authentication
1616
var Endpoint = oauth2.Endpoint{
17-
AuthURL: "https://api.twitch.tv/kraken/oauth2/authorize",
18-
TokenURL: "https://api.twitch.tv/kraken/oauth2/token",
17+
AuthURL: "https://id.twitch.tv/oauth2/authorize",
18+
TokenURL: "https://id.twitch.tv/oauth2/token",
1919
}

0 commit comments

Comments
 (0)