Oauth logo getting CORS error in Oauth popup

I have made an Oauth app in HubSpot and am successfully using it to authenticate to my application.

However, the logo that is set is being blocked on some browsers for me and others:

Edge - Blocked by CORS

Firefox - Working

Chrome - Working

See the error at the bottom, but the icon is hosted by HubSpot, and the /authorize page is hosted by HubSpot, yet there is a CORS issue that causes the icon to fial to load.

I have tried turning off Edge extensions, restarting and changing secure DNS settings, but it does seem from the error this could be a HubSpot issue.

I also tried re-uploading the icon in the app settings, but it still errors during auth the same.

Repro (contains null redirect uri as an example):

https://app.hubspot.com/oauth/authorize?client_id=2cca0ebb-dc6e-43a9-a91d-66ad8c50e458&redirect_uri=null

Expected (on Firefox/Chrome):

The logo I’ve uploaded should work

Actual (on Edge):

The CORS error:

Access to image at ‘https://hubspot-integrators-prod.s3.amazonaws.com/listing/8318911.png’ from origin ‘https://app.hubspot.com’ has been blocked by CORS policy: Permission was denied for this request to access the `unknown` address space.

Hi @FlowEngineering,

Thank you for reaching out to the community and those examples ! I would like to add some top contributors to help us @ashleyidesign @BarryGrennan @ChrisMagtoto, do you have any ideas ?

Josefina, Community Moderator

Hi @FlowEngineering

You’re not imagining this, and you’ve already narrowed it down to the right place. What you’re seeing is Edge being stricter than Chrome and Firefox around CORS and address space classification for images loaded inside OAuth flows.

In your case, the key detail is the error message mentioning the unknown address space. Edge applies additional checks when a resource is served from an S3-backed domain like hubspot-integrators-prod.s3.amazonaws.com and embedded inside another origin, even when both are ultimately controlled by HubSpot. Chrome and Firefox are more permissive here, which is why the logo renders fine there.

A few important points based on how HubSpot OAuth works today:

  • First, the OAuth authorization page itself is served from app.hubspot.com, but the app logo is fetched from HubSpot’s integrators S3 bucket. That means this is still a cross-origin image request, and Edge enforces stricter Private Network Access and CORS rules than other browsers. This is especially common in Edge when Enhanced Security Mode or certain enterprise policies are enabled, even if extensions are off.
  • Second, there’s nothing you can configure on your side to change the headers for that image. Since HubSpot hosts and proxies the logo asset, you can’t add CORS headers, change cache-control, or adjust address space handling yourself. Re-uploading the image usually doesn’t help once the asset is cached in that bucket, which matches what you observed.
  • Third, this tends to show up intermittently depending on Edge version and security flags. I’ve seen the same behavior with OAuth logos, marketplace listing images, and even some embedded UI assets. In practice, this ends up being a HubSpot-side fix when they adjust how those assets are served or reclassified.

At this point, the most effective path is to open a HubSpot support ticket and reference the exact Edge console error and the S3 asset URL. This is the kind of issue that usually needs to be escalated internally, since only HubSpot can change how those OAuth assets are delivered.

In the meantime, there isn’t a clean workaround other than accepting that Edge users may see the broken logo until it’s addressed upstream. Functionally it doesn’t block OAuth, but I agree it’s not a great experience.

Hope that confirms you’re not missing a hidden setting.