0

I have pages that are only accessible if the bearer authorization token is passed in the header. When I click on a link to change the page of the site, how do I pass the token using javascript?

BCWD
  • 21
  • 1
  • this problem is already answered [here](https://stackoverflow.com/questions/43453206/how-to-include-access-token-in-the-http-header-when-requesting-a-new-page-from-b). – Raju Ahmed Aug 10 '21 at 09:05
  • In that topic there is not an exhaustive answer. In my case the server expects me to pass bearer authorization to reply with the page content. I have to find a client-side way to pass the token when I switch pages. – BCWD Aug 10 '21 at 09:24

0 Answers0