Skip to content

Commit

Permalink
Update the default auth and token endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
shinfan committed Aug 30, 2018
1 parent df8e0fc commit 4fe6931
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/sgauth/credentials/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import (
)

// DefaultTokenURL is Google's OAuth 2.0 token URL to use with the JWT flow.
const DefaultTokenURL = "https://accounts.google.com/o/oauth2/token"
const DefaultTokenURL = "https://oauth2.googleapis.com/token"

// DefaultAuthURL is Google's OAuth 2.0 Auth URL to use with the 2LO flow.
const DefaultAuthURL = "https://accounts.google.com/o/oauth2/auth"
const DefaultAuthURL = "https://oauth2.googleapis.com/auth"

// JSON key file types.
const (
Expand Down

0 comments on commit 4fe6931

Please sign in to comment.