# Adobe fonts (typekit) not loading in zoom app, getting a 403 error. Works in any browser

**URL:** <https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720>\
**Category:** Zoom Apps\
**Created:** [September 29, 2022, 7:05pm UTC](https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720 "2022-09-29T19:05:41Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![nselvidge](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nselvidge/32/41812_2.png) [@nselvidge](https://devforum.zoom.us/u/nselvidge)\
**Post date:** [September 29, 2022, 7:05pm UTC](https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720/1 "2022-09-29T19:05:41Z")

</div>

**Zoom Apps Configuration**

React frontend with node.js backend. Adobe web fonts for font styling

**Description**

Adobe typekit fonts won’t load in the zoom client app. I get a 403 response on the resource, but don’t get this response when loading the font in any other browser. When I make the exact same request (copy request as in the dev tools) with cURL it’s successful, but when the request is made by the zoom client it fails.

**Error?**

```auto
GET https://use.typekit.net/uuq3xbu.css net::ERR_ABORTED 403 (Blocked)

```

**Troubleshooting Routes**  
I’ve tried checking if there are any missing headers from the request, but the exact same request made from any other browser (edge, chrome, cURL, fetch) works fine.  
I’ve also tried changing the `link` tag attributes to different combinations

```auto
// default provided by adobe
    <link
      rel="stylesheet"
      href="https://use.typekit.net/uuq3xbu.css"
    />

// referrer and role tags
    <link
      rel="stylesheet"
      as="font"
      referrerpolicy="no-referrer"
      href="https://use.typekit.net/uuq3xbu.css"
    />

// crossorigin 
    <link
      rel="stylesheet"
      as="font"
      referrerpolicy="no-referrer"
      crossorigin="anonymous"
      href="https://use.typekit.net/uuq3xbu.css"
    />

```

adding the `crossorigin` tag makes the request fail with a new error of

```auto
       Access to CSS stylesheet at 'https://use.typekit.net/uuq3xbu.css' from origin 'https://emergence.ngrok.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

```

but this error also does not occur in any other web client

**How To Reproduce**  
add this link tag to a zoom app:

```auto
    <link
      rel="stylesheet"
      href="https://use.typekit.net/uuq3xbu.css"
    />

```

Appreciate if anyone has some guidance to offer on how the stylesheet will be loaded differently in the zoom client!

---

<div class="post-metadata">

**Author:** ![shariq.torres](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shariq.torres/32/39899_2.png) [@shariq.torres](https://devforum.zoom.us/u/shariq.torres)\
**Post date:** [September 29, 2022, 7:16pm UTC](https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720/2 "2022-09-29T19:16:40Z")

</div>

Did you add the Adobe Typekit domain to the [OSWAP headers](https://marketplace.zoom.us/docs/zoom-apps/publishing-an-app/owasp/)? If it doesn’t have an entry there then the Zoom App will block that request. In particular you want to pay attention to the [Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy).

---

<div class="post-metadata">

**Author:** ![nselvidge](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nselvidge/32/41812_2.png) [@nselvidge](https://devforum.zoom.us/u/nselvidge)\
**Post date:** [September 29, 2022, 7:38pm UTC](https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720/3 "2022-09-29T19:38:22Z")

</div>

Thanks for the reply @shariq.torres . I did add `*.typekit.net` to the `Content-Security-Policy` header, but not sure if one of my other headers may be interfering

```auto
 reply.headers({
          "Strict-Transport-Security": "max-age=31536000 ; includeSubDomains",
          "X-Content-Type-Options": "nosniff",
          "Content-Security-Policy":
            "default-src 'self' *.typekit.net; style-src 'self' 'unsafe-inline' *.typekit.net",
          "Referrer-Policy": "origin-when-cross-origin",
   });

```

---

<div class="post-metadata">

**Author:** ![shariq.torres](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shariq.torres/32/39899_2.png) [@shariq.torres](https://devforum.zoom.us/u/shariq.torres)\
**Post date:** [September 29, 2022, 9:05pm UTC](https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720/4 "2022-09-29T21:05:49Z")

</div>

If you want to include the Typekit CSS you would need to alter the `style-src` from `self` to `use.typekit.net`. The `default-src` is for Javascript files.

---

<div class="post-metadata">

**Author:** ![nselvidge](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nselvidge/32/41812_2.png) [@nselvidge](https://devforum.zoom.us/u/nselvidge)\
**Post date:** [September 29, 2022, 9:09pm UTC](https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720/5 "2022-09-29T21:09:05Z")

</div>

`style-src` includes `*.typekit.net` (the last item in the list). The wildcard subdomain should still work right?

---

<div class="post-metadata">

**Author:** ![nselvidge](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nselvidge/32/41812_2.png) [@nselvidge](https://devforum.zoom.us/u/nselvidge)\
**Post date:** [September 29, 2022, 9:12pm UTC](https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720/6 "2022-09-29T21:12:33Z")

</div>

I also just now tried with both the `default-src` and the `style-src` set to allow `use.typekit.net` with no luck

```auto

        reply.headers({
          "Strict-Transport-Security": "max-age=31536000 ; includeSubDomains",
          "X-Content-Type-Options": "nosniff",
          "Content-Security-Policy":
              "default-src 'self' use.typekit.net; style-src 'self' 'unsafe-inline' use.typekit.net",
          "Referrer-Policy": "origin-when-cross-origin",
        });

```

---

<div class="post-metadata">

**Author:** ![shariq.torres](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shariq.torres/32/39899_2.png) [@shariq.torres](https://devforum.zoom.us/u/shariq.torres)\
**Post date:** [September 29, 2022, 9:14pm UTC](https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720/7 "2022-09-29T21:14:59Z")

</div>

What about using `https://use.typekit.net`? The docs on the headers say that a host-source has the protocol as well ([CSP source values - HTTP | MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources#sources))

---

<div class="post-metadata">

**Author:** ![nselvidge](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nselvidge/32/41812_2.png) [@nselvidge](https://devforum.zoom.us/u/nselvidge)\
**Post date:** [September 29, 2022, 9:21pm UTC](https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720/8 "2022-09-29T21:21:34Z")

</div>

hmm yeah no luck there either:

 ![3](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/d/4d7d4f199d91ec6f0af6b8fc968b76b4d0ad9089.jpeg)

 ![2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/7/b7433814507fcf44e95e2bcda702f191bbcc047d.jpeg)

---

<div class="post-metadata">

**Author:** ![nselvidge](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nselvidge/32/41812_2.png) [@nselvidge](https://devforum.zoom.us/u/nselvidge)\
**Post date:** [October 1, 2022, 12:02am UTC](https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720/9 "2022-10-01T00:02:27Z")

</div>

Also want to point out that this same request with the same content security headers works in chrome and edge browsers, but fails in the zoom client. If I remove `*.typekit.net` from the content security policy, then chrome and edge will block the request. With that present chrome and edge will allow the request. Seems to be specific to how zoom’s client handles the request.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [October 5, 2022, 6:56pm UTC](https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720/10 "2022-10-05T18:56:49Z")

</div>

@nselvidge Are you seeing any errors in the JavaScript console or network tab within the Zoom Client when testing this out? Please share those here if so.

In the meantime, you can try adding the domain to the domain allow list within the Zoom Marketplace Page.

Let me know if that helps.

---

<div class="post-metadata">

**Author:** ![nselvidge](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nselvidge/32/41812_2.png) [@nselvidge](https://devforum.zoom.us/u/nselvidge)\
**Post date:** [October 26, 2022, 7:00pm UTC](https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720/11 "2022-10-26T19:00:49Z")

</div>

Thanks for reaching out Max.

Wanted to follow up in here because I was able to get this working.

I had tried having `use.typekit.net` in my zoom marketplace domain whitelist, and I tried `typekit.net` in my domain whitelist, but I had not tried allowing both. When I added both `use.typekit.net` and `typekit.net` (then later added `p.typekit.net` since it was referenced in the imported css) it began working.

Seems like I needed to list both the TLD and the subdomain separately in the zoom marketplace settings.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [October 27, 2022, 6:15pm UTC](https://devforum.zoom.us/t/adobe-fonts-typekit-not-loading-in-zoom-app-getting-a-403-error-works-in-any-browser/76720/12 "2022-10-27T18:15:25Z")

</div>

Thanks for sharing your solution @nselvidge! Out of curiosity, does using a wildcard work too?

Such as: `*.typekit.net`
