Hello! I am trying to use Pagefind (UI or API) to perform multiple site search, but I'm hitting a snag. Everything works fine in my own machine when I run multiple web servers, however when I try to deploy this to our test environments, since they are gated by an authorization token that redirects calls to an internal security portal, those calls require a specific Authorization header to be passed in the call.
I tried wrapping the pagefind.search call and attempt to pass the headers but I am totally unfamiliar with WASM and I wanted to a) know if I can get some help and b) suggest that you add the possibility of custom headers as a configuration of the calls.
Hello! I am trying to use Pagefind (UI or API) to perform multiple site search, but I'm hitting a snag. Everything works fine in my own machine when I run multiple web servers, however when I try to deploy this to our test environments, since they are gated by an authorization token that redirects calls to an internal security portal, those calls require a specific Authorization header to be passed in the call.
I tried wrapping the pagefind.search call and attempt to pass the headers but I am totally unfamiliar with WASM and I wanted to a) know if I can get some help and b) suggest that you add the possibility of custom headers as a configuration of the calls.
Keep up the great work! Jorge