top of page

What is OAuth?

Updated: Jan 8

OAuth (Open Authorization) is an open-standard authorization framework that allows users to grant third-party applications access to their data without sharing their passwords. It's widely used in marketing automation platforms like Salesforce Marketing Cloud to enable seamless integration with various applications and services without compromising user privacy.


Considerations

If you're integrating OAuth 2.0 APIs with Salesforce Marketing Cloud Installed Packages, there are some key factors to keep in mind:


1. Authentication Endpoints: OAuth 2.0 uses different endpoints. Legacy endpoints for token requests aren't compatible. 👨‍💻✒


2. Updates: Hold tight! It can take up to 5 minutes for changes to authorization codes and tokens to reflect. ⏱🔄


3. Redirect URIs: There are particular requirements to meet. For example, no more than 10 redirect URIs per integration, and wildcards are not allowed. 📍🔍


4. User Licenses: For a user to use the package functionality, they must have a license for it. 📜🔑


5. Business Unit Access: Not everyone has access to every business unit. Ensure your app can deal with this, and switch business units alongside the user. 🏬🔄


6. Refresh Tokens and Business Units: Refresh tokens are related to individual business units – crucial for offline actions. 🔄💡


7. Legacy Integrations: It's a no-go for OAuth 2.0. They must continue using the legacy endpoint. 📜❌


More info can be found on the official documentation page here or sequre a custom activity using an OAuth 2.0 Bearer Token here or set up Salesforce Data Pipelines here

bottom of page