Page MenuHomePhabricator

D8916.id30237.diff
No OneTemporary

D8916.id30237.diff

diff --git a/services/identity/src/client_service.rs b/services/identity/src/client_service.rs
--- a/services/identity/src/client_service.rs
+++ b/services/identity/src/client_service.rs
@@ -845,17 +845,23 @@
request: tonic::Request<VerifyUserAccessTokenRequest>,
) -> Result<tonic::Response<VerifyUserAccessTokenResponse>, tonic::Status> {
let message = request.into_inner();
+ debug!("Verifying device: {}", &message.signing_public_key);
+
let token_valid = self
.client
.verify_access_token(
message.user_id,
- message.signing_public_key,
+ message.signing_public_key.clone(),
message.access_token,
)
.await
.map_err(handle_db_error)?;
let response = Response::new(VerifyUserAccessTokenResponse { token_valid });
+ debug!(
+ "device {} was verified: {}",
+ &message.signing_public_key, token_valid
+ );
Ok(response)
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 3:39 AM (18 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2565945
Default Alt Text
D8916.id30237.diff (943 B)

Event Timeline