Copy link to clipboard
Copied
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'.
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now