Skip to content

Commit

Permalink
fix lint?
Browse files Browse the repository at this point in the history
Signed-off-by: Houssem Ben Mabrouk <[email protected]>
  • Loading branch information
orange-hbenmabrouk committed Mar 22, 2024
1 parent b710a4b commit a1373cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connector/oidc/oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ func (c *oidcConnector) HandleCallback(s connector.Scopes, r *http.Request) (ide
}

ctx := context.WithValue(r.Context(), oauth2.HTTPClient, c.httpClient)
token := &oauth2.Token{}
var token *oauth2.Token
if q.Has("code") {
// exchange code to token
var opts []oauth2.AuthCodeOption
Expand Down

0 comments on commit a1373cf

Please sign in to comment.