Browse Source

fix /connect/token to push identity

pull/3752/head
toto-xoxo 2 years ago
committed by Mathijs van Veluw
parent
commit
826f866841
  1. 2
      src/api/push.rs

2
src/api/push.rs

@ -50,7 +50,7 @@ async fn get_auth_push_token() -> ApiResult<String> {
("client_secret", &client_secret),
];
let res = match get_reqwest_client().post(CONFIG.push_identity_uri()).form(&params).send().await {
let res = match get_reqwest_client().post(&format!("{}/connect/token", CONFIG.push_identity_uri())).form(&params).send().await {
Ok(r) => r,
Err(e) => err!(format!("Error getting push token from bitwarden server: {e}")),
};

Loading…
Cancel
Save