Marketing Cloud App
SSO Demo Application (OAuth 2.0)
How to Access
This application is designed to be accessed from within Salesforce Marketing Cloud. Click on the app in your Marketing Cloud instance to initiate the OAuth 2.0 SSO flow.
Authentication Flow
- MC opens Login Endpoint in iframe
- Redirect to MC OAuth authorize
- User authorizes (if needed)
- Callback receives auth code
- Exchange code for tokens
- Fetch user info & create session
Endpoints
Login Endpoint
/api/auth/loginCallback Endpoint
/api/auth/callbackLogout Endpoint
/api/auth/logout