Skip to content

Commit

Permalink
fix: update oauth settings
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterSchafer committed Aug 8, 2023
1 parent eb7e062 commit e85dd76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/auth/oauth2authenticator.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,10 @@ func (o *oAuth2Authenticator) Authenticate() error {

url := o.oauthConfig.AuthCodeURL(state, oauth2.AccessTypeOffline,
oauth2.SetAuthURLParam("code_challenge", codeChallenge),
oauth2.SetAuthURLParam("code_challenge_method", "s256"),
oauth2.SetAuthURLParam("code_challenge_method", "S256"),
oauth2.SetAuthURLParam("response_type", "code"),
oauth2.SetAuthURLParam("scope", "offline_access"),
oauth2.SetAuthURLParam("version", "2021-08-11~experimental")) // TODO: HEAD-208 check if this is still required
oauth2.SetAuthURLParam("version", "2021-08-11~experimental"))

// launch browser
go o.openBrowserFunc(url)
Expand Down

0 comments on commit e85dd76

Please sign in to comment.