hyperswitch
hyperswitch copied to clipboard
Modify profile and merchant_connector_account routes to use `ApiKeyAuthWithMerchantIdFromRoute` auth Hotfix
Description: Currently, the following routes use AdminApiAuthWithMerchantIdFromRoute for authentication:
Profile Create, Retrieve, Update Merchant Connector Account Create, List, Retrieve, Update This has to be updated to a more appropriate auth layer: ApiKeyAuthWithMerchantIdFromRoute, which validates that the merchant_id in the API key matches the one in the route.