Https requests with Authorization not working via Safari
I also faced a similar problem with safari where 'Authorization' in the header was not sent in the GET request but it ended up in a simple thing.
I simply appended a '/' at the end of the request URL and it worked for me.
for eg: change URL from '/token' to '/token/'.
When an HTTP request made via safari is made to any url contains words like login
, token
, etc... safari automatically adds Accept-Encoding
header that brokes al
To solve that you need access to the device that are running the code and change a safari setting that prevent cross-site tracking, this works fine for me.