Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3337767
D13591.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
757 B
Referenced Files
None
Subscribers
None
D13591.diff
View Options
diff --git a/services/tunnelbroker/src/identity/mod.rs b/services/tunnelbroker/src/identity/mod.rs
--- a/services/tunnelbroker/src/identity/mod.rs
+++ b/services/tunnelbroker/src/identity/mod.rs
@@ -1,4 +1,5 @@
use client_proto::VerifyUserAccessTokenRequest;
+use comm_lib::auth::is_csat_verification_disabled;
use grpc_clients::identity::{self, PlatformMetadata};
use grpc_clients::tonic::Request;
use identity::get_unauthenticated_client;
@@ -19,6 +20,10 @@
device_id: &str,
access_token: &str,
) -> Result<bool, Error> {
+ if is_csat_verification_disabled() {
+ return Ok(true);
+ }
+
let mut grpc_client = get_unauthenticated_client(
&CONFIG.identity_endpoint,
PlatformMetadata::new(PLACEHOLDER_CODE_VERSION, DEVICE_TYPE),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 5:08 PM (16 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2563046
Default Alt Text
D13591.diff (757 B)
Attached To
Mode
D13591: [tunnelbroker] Disable CSAT verification if env var is set
Attached
Detach File
Event Timeline
Log In to Comment