From 826f866841a9bb9b9905a6dfa870ae46e46b240f Mon Sep 17 00:00:00 2001 From: toto-xoxo <85445598+toto-xoxo@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:34:56 +0100 Subject: [PATCH] fix /connect/token to push identity --- src/api/push.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/push.rs b/src/api/push.rs index 31fe97aa..c39a17b4 100644 --- a/src/api/push.rs +++ b/src/api/push.rs @@ -50,7 +50,7 @@ async fn get_auth_push_token() -> ApiResult { ("client_secret", &client_secret), ]; - let res = match get_reqwest_client().post(CONFIG.push_identity_uri()).form(¶ms).send().await { + let res = match get_reqwest_client().post(&format!("{}/connect/token", CONFIG.push_identity_uri())).form(¶ms).send().await { Ok(r) => r, Err(e) => err!(format!("Error getting push token from bitwarden server: {e}")), };