mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 13:30:39 +08:00
feat(router): Enable client_secret auth for payments_get_intent [v2] (#8119)
This commit is contained in:
@ -232,10 +232,16 @@ pub async fn payments_get_intent(
|
||||
header_payload.clone(),
|
||||
)
|
||||
},
|
||||
&auth::V2ApiKeyAuth {
|
||||
is_connected_allowed: false,
|
||||
is_platform_allowed: false,
|
||||
},
|
||||
auth::api_or_client_auth(
|
||||
&auth::V2ApiKeyAuth {
|
||||
is_connected_allowed: false,
|
||||
is_platform_allowed: false,
|
||||
},
|
||||
&auth::V2ClientAuth(common_utils::types::authentication::ResourceId::Payment(
|
||||
global_payment_id.clone(),
|
||||
)),
|
||||
req.headers(),
|
||||
),
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user