Fix incorrect async usage on client_credentials_for_provider
This commit is contained in:
@@ -294,8 +294,7 @@ pub(crate) async fn handler(
|
||||
lazy_metadata.token_endpoint().await?,
|
||||
&keystore,
|
||||
&encrypter,
|
||||
)
|
||||
.await?;
|
||||
)?;
|
||||
|
||||
let redirect_uri = url_builder.upstream_oauth_callback(provider.id);
|
||||
|
||||
|
||||
@@ -139,4 +139,4 @@ fn client_credentials_for_provider(
|
||||
};
|
||||
|
||||
Ok(client_credentials)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user