Safari on macOS enforces Intelligent Tracking Prevention (ITP) to block third-party trackers from following user habits across the web. However, legitimate single-sign-on (SSO) portals, enterprise intranets, and embedded customer portals often find their authentication cookies blocked, accompanied by console warnings: “Blocked a cookie from being set because the storage access policy does not allow third-party cookie access.”
Adjust Prevent Cross-Site Tracking in Safari Settings
Temporarily adjusting cross-site tracking allows legacy third-party authentication cookies to establish session state.
- Open Safari and click Safari > Settings in the top menu bar (or press Cmd + ,).
- Select the Privacy tab.
- Under the Website tracking heading, temporarily untick Prevent cross-site tracking.
- Reload the webpage requiring corporate SSO authentication to verify that login tokens transfer across domain boundaries.
Grant Storage Access API Authorization for Embedded Portals
Modern web standards require embedded iframe containers to request explicit storage access from the user.
- If an interactive button appears inside the embedded widget asking to “Allow access to cookies”, click the prompt.
- Safari displays a native system dialogue asking: “Do you want to allow [domain] to use cookies and website data while browsing [host]?”
- Click Allow. Safari will grant first-party cookie privileges to the embedded container for the remainder of the browsing session.
Clear Stale Website Storage and Session Cookies
Corrupted local storage records can trigger persistent policy rejections even after permission changes.
- In Safari Settings, navigate to Privacy > Manage Website Data.
- Search for both the parent domain and the embedded domain.
- Click Remove All and restart Safari to establish a fresh cryptographic session.