1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-08-30 14:34:48 +00:00

fix /connect/token to push identity

This commit is contained in:
toto-xoxo 2023-11-23 15:34:56 +01:00 committed by Mathijs van Veluw
commit 826f866841

View file

@ -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}")),
};