Hi!
I have a site running on app services in azure, I just noticed a problem that is giving me firefox right now. So I tried to replicate it in PostMan and got the same response 401 unauthorized.
So let see if you can help me because on Chrome everything is working ok.
then I copied the access token to post request to create an order.
At first I though it was an CORS problem, but everything works ok in Chrome on productive enviroment.
I event tried this using Swagger, so I logged in, tried the method on swagger and everything works fine. Copy the same access token and tried on postman but got the same error:
Do you have an idea why is this happening?
thx so much.
10 Answer(s)
-
0
Are you logging in to a host or a tenant account?
-
0
The user was logged in host.
-
0
@mgarcia Can I send your app url and test account to my mailbox? I want to try. [email protected]
-
0
Any solution? i have the same problem.
-
0
The problem with mgarcia is that he uses load balancing. Deploy back-end applications on multiple servers. Is your situation similar to him?
-
0
No i have deployed it to one server. But there are multiple aspnetzero apps running on the same server (different projects) can it be related with that? They run on the same iis server.
-
0
Are you exactly the same as his problem? Firefox and postman don't work, and everything works fine under chrome?
-
0
In my case it doesn't work when you use postman and it works if you use chrome or firefox. It can be network related probably firewall problem. I will post more when i know more.
-
0
-
0
Hello sorry for the late reply now my problem is solved, it was network related in my case after i change the network and try to do a post it worked so firewall was changing the headers or body i believe. It was working in chrome cause the page was on another server. Thank you for the help.