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

Register Domain 0.0.0.0

New Here ,
Jul 23, 2024 Jul 23, 2024

I'd like to use the Embed PDF API for displaying (and annotating) a PDF document within a Blazor WebAssembly application. The Web application should (also) run as a Blazor Hybrid App (WPF Desktop). We don't use this in production, only for local UI debugging purposes because it's way more performant and development roundtrip times are much better than launching and debugging a Blazor WebAssembly app in the browser.

 

The problem with this is that the locally hosted Blazor Hybrid app has window.origin='https://0.0.0.0' (or window.location.href='https://0.0.0.0'. This is not configurable and I found no trick to set this to some dummy value (e.g. 'http://localhost').

 

The problem now is that I can't register an API key for the PDF Embed API using an IP address (here '0.0.0.0') as the domain. I can register 'localhost', but not '0.0.0.0'.

 

Any workaround for this? Please please please allow me to register '0.0.0.0'.

TOPICS
Acrobat SDK and JavaScript
104
Translate
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