I've created an external app and using the oauth2 i configured the client and secret codes and it works perfectly. The app basically uses the REST endpoint for the cases and creates a calendar agenda of tasks.
I'd like to now convert this into a plugin so that its accessible from within PM as a menu. I know how to create the basic plugin files using gulliver but now i'm not sure if I need to request the user to re-login using my app and get the access token and then consume the REST endpoint, or can I simply call the endpoint and it would work ?
Any advice or samples can I could have a look at ?