Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions endpoints/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ var Uber = oauth2.Endpoint{

// Vk is the endpoint for Vk.
var Vk = oauth2.Endpoint{
AuthURL: "https://oauth.vk.com/authorize",
TokenURL: "https://oauth.vk.com/access_token",
AuthURL: "https://oauth.vk.ru/authorize",
TokenURL: "https://oauth.vk.ru/access_token",
}

// Withings is the endpoint for Withings.
Expand Down
6 changes: 3 additions & 3 deletions vk/vk.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package vk provides constants for using OAuth2 to access VK.com.
// Package vk provides constants for using OAuth2 to access VK.ru.
package vk // import "golang.org/x/oauth2/vk"

import (
Expand All @@ -11,6 +11,6 @@ import (

// Endpoint is VK's OAuth 2.0 endpoint.
var Endpoint = oauth2.Endpoint{
AuthURL: "https://oauth.vk.com/authorize",
TokenURL: "https://oauth.vk.com/access_token",
AuthURL: "https://oauth.vk.ru/authorize",
TokenURL: "https://oauth.vk.ru/access_token",
}