Skip to content

Commit c24db6c

Browse files
committed
internal/target: Set OIDCNonInteractive
Signed-off-by: Max Asnaashari <max.asna@futurfusion.io>
1 parent 7aa510e commit c24db6c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

internal/target/incus.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,12 @@ func (t *InternalIncusTarget) Connect(ctx context.Context) error {
9292
}
9393

9494
t.incusConnectionArgs = &incus.ConnectionArgs{
95-
AuthType: authType,
96-
TLSClientKey: t.TLSClientKey,
97-
TLSClientCert: t.TLSClientCert,
98-
OIDCTokens: t.OIDCTokens,
99-
Proxy: func(r *http.Request) (*url.URL, error) { return nil, nil },
95+
AuthType: authType,
96+
TLSClientKey: t.TLSClientKey,
97+
TLSClientCert: t.TLSClientCert,
98+
OIDCTokens: t.OIDCTokens,
99+
OIDCNonInteractive: true,
100+
Proxy: func(r *http.Request) (*url.URL, error) { return nil, nil },
100101
}
101102

102103
var serverCert *x509.Certificate

0 commit comments

Comments
 (0)