Skip to content

Commit

Permalink
fix(router): disable partial auth feature for relay (#6928)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShankarSinghC authored Dec 24, 2024
1 parent 9120919 commit 931c322
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/deployments/integration_test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ outgoing_enabled = true
connectors_with_webhook_source_verification_call = "paypal" # List of connectors which has additional source verification api-call

[unmasked_headers]
keys = "accept-language,user-agent"
keys = "accept-language,user-agent,x-profile-id"

[saved_payment_methods]
sdk_eligible_payment_methods = "card"
Expand Down
2 changes: 1 addition & 1 deletion config/deployments/production.toml
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ outgoing_enabled = true
connectors_with_webhook_source_verification_call = "paypal" # List of connectors which has additional source verification api-call

[unmasked_headers]
keys = "accept-language,user-agent"
keys = "accept-language,user-agent,x-profile-id"

[saved_payment_methods]
sdk_eligible_payment_methods = "card"
Expand Down
2 changes: 1 addition & 1 deletion config/deployments/sandbox.toml
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ outgoing_enabled = true
connectors_with_webhook_source_verification_call = "paypal" # List of connectors which has additional source verification api-call

[unmasked_headers]
keys = "accept-language,user-agent"
keys = "accept-language,user-agent,x-profile-id"

[saved_payment_methods]
sdk_eligible_payment_methods = "card"
Expand Down
4 changes: 2 additions & 2 deletions crates/router/src/routes/relay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub async fn relay(
req,
)
},
&auth::HeaderAuth(auth::ApiKeyAuth),
&auth::ApiKeyAuth,
api_locking::LockAction::NotApplicable,
))
.await
Expand Down Expand Up @@ -69,7 +69,7 @@ pub async fn relay_retrieve(
req,
)
},
&auth::HeaderAuth(auth::ApiKeyAuth),
&auth::ApiKeyAuth,
api_locking::LockAction::NotApplicable,
))
.await
Expand Down

0 comments on commit 931c322

Please sign in to comment.