Skip to content

Commit

Permalink
cmd/token/user: fix auth and token-url mixup
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas committed Jun 30, 2017
1 parent 9268e02 commit a28556e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/token_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ var tokenUserCmd = &cobra.Command{
ClientID: clientId,
ClientSecret: clientSecret,
Endpoint: oauth2.Endpoint{
TokenURL: frontend,
AuthURL: backend,
TokenURL: backend,
AuthURL: frontend,
},
RedirectURL: redirectUrl,
Scopes: scopes,
Expand Down

0 comments on commit a28556e

Please sign in to comment.