Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3343620
D8916.id30237.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
943 B
Referenced Files
None
Subscribers
None
D8916.id30237.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D8916: [Identity] Improve VerifyUserAccessToken logging
Attached
Detach File
Event Timeline
Log In to Comment