Coder Social home page Coder Social logo

Comments (7)

Gitrathirad avatar Gitrathirad commented on May 12, 2024 4

@ronnyek - Please share the scopes that working for you.

from azure-devops-extension-sample.

yonail avatar yonail commented on May 12, 2024 1

I'm also facing this CORS issue if someone can explain how to handle it locally

from azure-devops-extension-sample.

thecherrytree avatar thecherrytree commented on May 12, 2024

Ever figure this one out Roy?

from azure-devops-extension-sample.

ronnyek avatar ronnyek commented on May 12, 2024

If I had to guess, I'd guess that this is actually if you are changing the baseURI for testing purposes, and therefor loading the extension source from your local machine vs actually being hosted in azure devops. (honestly probably nothing to do with the scopes unless you are seeing permissions related failures).

I've happened across this issue for the very same reason, and am investigating ways to override cors policies in the js/ts clients. I'll update this issue if I figure it out.

from azure-devops-extension-sample.

ronnyek avatar ronnyek commented on May 12, 2024

I stand corrected, I updated the scopes in the extension .json file and repushed my extension, and now am able to execute those API commands, even when loading from my local dev machine

from azure-devops-extension-sample.

matthewtabor-itrellis avatar matthewtabor-itrellis commented on May 12, 2024

@ronnyek can you please share what scopes you needed to add here

from azure-devops-extension-sample.

jasonericdavis avatar jasonericdavis commented on May 12, 2024

I came across this issue trying to figure out the same thing. This issue helped me to figure out the answer that I was looking for microsoft/azure-devops-extension-api#39

from azure-devops-extension-sample.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.