Skip to content

Commit a4f7e7d

Browse files
committed
Removes redundant check for Audience in Cloudsmith token fetch
Signed-off-by: joniumGit <[email protected]>
1 parent 4d123c4 commit a4f7e7d

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

internal/oidc/actions_oidc.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -573,9 +573,6 @@ func GetCloudsmithAccessToken(ctx context.Context, params CloudsmithOIDCParamete
573573
if params.ApiHost == "" {
574574
return nil, fmt.Errorf("API host is required")
575575
}
576-
if params.Audience == "" {
577-
return nil, fmt.Errorf("audience is required")
578-
}
579576
if params.OrgName == "" {
580577
return nil, fmt.Errorf("org name is required")
581578
}

0 commit comments

Comments
 (0)