We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d00e05b commit 512208fCopy full SHA for 512208f
crates/cli/src/sync.rs
@@ -190,6 +190,9 @@ pub async fn config_sync(
190
if let Some(client_secret) = provider.client_secret.as_deref() {
191
Some(encrypter.encrypt_to_string(client_secret.as_bytes())?)
192
} else if let Some(mut siwa) = provider.sign_in_with_apple.clone() {
193
+ // if private key file is defined and not private key (raw), we populate the private key
194
+ // to hold the content of the private key file. private key (raw) takes precedence so
195
+ // both can be defined without issues
196
if siwa.private_key.is_none() {
197
if let Some(private_key_file) = siwa.private_key_file.take() {
198
let key = tokio::fs::read_to_string(private_key_file).await?;
0 commit comments