Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Creating an extension that call an external API

Hi everyone,

I am creating an Onshape app that sends a POST request to an endpoint with some document information. In this app, I added an extension to the Element context menu of Part Studio. I tried to set the External OAuth2 configuration for my app endpoint, but it doesn't work when I click on "Grant". It either shows a "Deny" message or a "404 Not Found" page.

I don't understand why this happens. If my app uses OAuth2 to authorize requests, shouldn't I just need to set the client credentials in the External OAuth tab without having to click "Grant"?

Thanks for your help.

Comments

  • Tanguy_PamiseuxTanguy_Pamiseux Member Posts: 5 PRO
    For your information it is Oauth2 Authorization Code, not Client Credentials.
Sign In or Register to comment.