wix-location.to() & Authorization header

Hi,

Can you please tell me how can I add “Authorization” header as part of a browser navigation to a specified URL? I need to implement an OAuth 1.0 authorization request.

If you have other ways of doing this I’m ready to listen.

Using Fetch I can add the header, however I assume this works only in a background and not user-facing context, right?

Thanks,
Zsolt