• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Embed API - Fetching JWT License Issue

New Here ,
Nov 28, 2023 Nov 28, 2023

Copy link to clipboard

Copied

I have set up credentials and correct domains for the Embed API. When I attempt to load a PDF I get:

 

Access to fetch at 'https://viewlicense.adobe.io/viewsdklicense/jwt' from origin *** has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

 

I tried with the pdf formatted as both a blob and a base64 string. The pdf flashes up and then disappears and I get the ubove error in dev tools. The origin for the request matches entered domain entered into the adobe console (other than the 'https://' which cannot be added)

 

I have also tried with entering wildcard subdomain, as well as just root domain, in the console, and my credential string is correct.

 

Please advise any ideas on resolution. Thanks.

Views

151

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources