Why I get Internet Explorer enhanced security error message in Chrome if I call VSO API from Angularjs SPA?

前端 未结 3 841
抹茶落季
抹茶落季 2020-12-19 02:10

I have a SPA implemented in Angularjs - Typescript calling VSO API and providing authentication data you can find below:



        
3条回答
  •  死守一世寂寞
    2020-12-19 02:41

    I had this same issue. I verified this in postman as follows...

    I didn't have to base64 encode my PAT. I found that I just needed to double check that my PAT had the right access. I passed the data as Basic Auth. Username: "whatever the hell you want" Password: PAT

    Response: 200

提交回复
热议问题