Skip to content

Commit

Permalink
Use Bearer prefix when asking api-server for auth
Browse files Browse the repository at this point in the history
  • Loading branch information
bradtgmurray committed Dec 19, 2023
1 parent 420c0d8 commit 3a55c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (a *api) requireAuthHandler(
return
}

req.Header.Add("Authorization", authToken)
req.Header.Add("Authorization", "Bearer "+authToken)

resp, err := httpClient.Do(req)
if err != nil {
Expand Down

0 comments on commit 3a55c6f

Please sign in to comment.