Skip to content

Commit 1cfcda7

Browse files
committed
Apply tls-roots cargo feature to reqwest
The tls-roots feature makes axum discover system TLS certificates through rustls-native-certs, but not reqwest. This PR changes that so that the corresponding feature on reqwest is activated as well, so e.g. oidc discovery requests behave the same as gRPC requests with regards to TLS certificates.
1 parent c349114 commit 1cfcda7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/zitadel/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ api-settings-v2 = ["api-common", "zitadel-gen/zitadel-settings-v2" ]
5555
api-user-v2 = ["api-common", "zitadel-gen/zitadel-user-v2" ]
5656

5757

58-
tls-roots = ["tonic/tls-roots"]
58+
tls-roots = ["tonic/tls-roots", "reqwest/rustls-tls-native-roots"]
5959
tls-webpki-roots = ["tonic/tls-webpki-roots"]
6060

6161

0 commit comments

Comments
 (0)