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.

Options

OnShape extension apps and OAuth tokens

Onshaper_CS_HBOnshaper_CS_HB Member Posts: 2
Hello,

We are currently exploring the possibilities of OnShape apps and have a question:

We have configured an external OAuth app (so that the user can allow external access to our app via "Grant" and OnShape can retrieve an external access token).
We also have an extension with a web app that should run in an iFrame in OnShape.

Is it possible to access the OAuth access token of the external OAuth app in the web app, via JavaScript or otherwise?
The idea would be to use this token on our site to create an external app session for the user so that no re-login is necessary.

Thanks!

Sign In or Register to comment.