mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
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 <bradfitz@golang.org>
This commit is contained in:
parent
6e81df8ef0
commit
dd5f5d8e78
@ -14,6 +14,6 @@ import (
|
|||||||
// For more information see:
|
// For more information see:
|
||||||
// https://dev.twitch.tv/docs/authentication
|
// https://dev.twitch.tv/docs/authentication
|
||||||
var Endpoint = oauth2.Endpoint{
|
var Endpoint = oauth2.Endpoint{
|
||||||
AuthURL: "https://api.twitch.tv/kraken/oauth2/authorize",
|
AuthURL: "https://id.twitch.tv/oauth2/authorize",
|
||||||
TokenURL: "https://api.twitch.tv/kraken/oauth2/token",
|
TokenURL: "https://id.twitch.tv/oauth2/token",
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user