Skip to content

Commit

Permalink
feat(http): conditionally apply auth strategies
Browse files Browse the repository at this point in the history
Signed-off-by: Dwi Siswanto <[email protected]>
  • Loading branch information
dwisiswant0 committed Aug 14, 2024
1 parent b1e7a5c commit 4909c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/protocols/http/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ func (request *Request) executeRequest(input *contextargs.Context, generatedRequ
}

// === apply auth strategies ===
if generatedRequest.request != nil {
if generatedRequest.request != nil && !request.BypassSecretFile {
generatedRequest.ApplyAuth(request.options.AuthProvider)
}

Expand Down

0 comments on commit 4909c3d

Please sign in to comment.