From 57687f43d89828b9c603eddd6e7a74afd7549ea6 Mon Sep 17 00:00:00 2001 From: Jens Reimann Date: Fri, 1 Jul 2022 17:03:56 +0200 Subject: [PATCH] refactor: drop workaround for missing basic_auth implementation --- src/openid/inject.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/openid/inject.rs b/src/openid/inject.rs index 10b7b10..d7f55e5 100644 --- a/src/openid/inject.rs +++ b/src/openid/inject.rs @@ -3,7 +3,6 @@ use crate::{ openid::{Credentials, TokenProvider}, }; use async_trait::async_trait; -use reqwest_wasm_ext::ReqwestExt; use tracing::instrument; /// Allows injecting tokens. @@ -24,7 +23,7 @@ impl TokenInjector for reqwest::RequestBuilder { { Ok(match credentials { Credentials::Bearer(token) => self.bearer_auth(token), - Credentials::Basic(username, password) => self.basic_auth_ext(username, password), + Credentials::Basic(username, password) => self.basic_auth(username, password), }) } else { Ok(self)