Having problem integrating the youtrack apis with my application

Hi, I am developer of a web app which basically kind of bug tracking tool. So I have previously implemented integration with Jira , clickup , github etc where using oauth2 user give authorization and from that we can get accesstoken and using that we can create issue in user's respective project. But for Youtrack, I am unable to do so. I tried the Youtrack oauth2 process but a user from a difference instance can not able to login in my oauth2 (example_instance.com/hub/auth?response=token…..) . Is that possible what I am trying to do in Youtrack?? Any suggestions are welcome.

Official comment


I'm Sergey from the YouTrack team.

For such a task, you can only use an implicit flow that requires just a client ID and no secret. You can retrieve a client ID via the following request: <YouTrackURL>api/config?fields=ring(serviceId) (no authentication required) and then initiate the implicit flow. More details about it here: https://www.jetbrains.com/help/youtrack/devportal/OAuth-authorization-in-youtrack.html.

Alternatively, depending on your requirements and app architecture, you can base your integration on a permanent token where a user needs to provide a YouTrack URL and their permanent token.

If you have any questions, please let me know. 

So basically I want user from a different instance who can have N number of projects to somehow using oauth2 or anything give me their account access token so that I can create issue whenever user prompts to do so, in their instance selected project. Please let me know if that is possible or not?


Please sign in to leave a comment.