AnsweredAssumed Answered

Is it possible to create a Sugar OAuth Access Token for a logged in Sugar User?

Question asked by Chad Hutchins on May 4, 2016
Latest reply on May 9, 2016 by Chad Hutchins

Here's the scenario: I am integrating Sugar with XYZ. I can programmatically install everything on the XYZ side from within Sugar, so no setup is required on the XYZ side. But in order for XYZ to communicate with Sugar, I need to create a Sugar OAuth Consumer for XYZ and OAuth Token for my Sugar user of XYZ. This part is easy, you can do it in the Sugar Admin area.


But the part I'm unsure of is how I generate an actual access token for the OAuth Token I create in Sugar. This is the actual token needed to make my API calls with from the XYZ side.


If I'm already logged in as an admin Sugar user, is it possible to generate an access token for an existing OAuth consumer/token without using the oauth2/token call and passing the username and password? Or is the oauth2/token call with the username and password the only way to do this?