Salesforce Decode
Salesforcedecode
Back to questions
IntegrationIntermediateoauthsecurityip-restrictions

Evaluate OAuth connected app IP relax vs certificate pinning tradeoffs

Real World Scenario

MuleSoft CloudHub dynamic IPs conflict with connected app IP whitelist; team debates IP relax vs cert-based auth.

Expected Answer

• IP relax increases attack surface if credentials leaked • Mutual TLS certificate connected app policy preferred CloudHub • JWT bearer with certificate no IP dependency • If IP whitelist: static egress Elastic IP CloudHub VPC • Document security exception approval IP relax production • Monitor login from unexpected geo ApiEvent • Rotate between IP and cert migration phased

Follow-Up Questions & Answers

Click to expand — each follow-up includes a direct, interview-ready answer

Direct answer: IP relax increases attack surface if credentials leaked Also consider: Mutual TLS certificate connected app policy preferred CloudHub In practice: JWT bearer with certificate no IP dependency Balance speed of delivery with maintainability.

Architect Perspective

IP relax is convenience security trade—prefer JWT or mTLS over relaxing prod connected app IP.