Skip to content

Commit 89bc44e

Browse files
committed
chore: Add Azure DevOps adapter
Signed-off-by: Jorge Turrado <jorge.turrado@mail.schwarz>
1 parent c1e0812 commit 89bc44e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/oidcadapters/azuredevops.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const (
1616

1717
func RequestAzureDevOpsOIDCToken(oidcRequestUrl, oidcRequestToken, serviceConnectionID string) OIDCTokenFunc {
1818
return func(ctx context.Context) (string, error) {
19-
req, err := http.NewRequestWithContext(ctx, http.MethodGet, oidcRequestUrl, http.NoBody)
19+
req, err := http.NewRequestWithContext(ctx, http.MethodPost, oidcRequestUrl, http.NoBody)
2020
if err != nil {
2121
return "", fmt.Errorf("azureDevOpsAssertion: failed to build request: %w", err)
2222
}

0 commit comments

Comments
 (0)