Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I get an Auth token for a user by password grant?

We have a scenario where we log in users into our custom application (and custom login)  and there they can check the issues allotted to them. These issues are taken from Jira and the issue tracking system we're using is Jira. However, We're unable to get the Auth token of each user, as there are no ways to get the Auth token through password grant. Is there any way I can get the Auth token to make API calls on behalf of my logged in user to make API calls?

2 answers

1 vote
Prince Nyeche Community Leader Jan 06, 2021

Hi @Raghav Mishra 

You should be looking at JWT for connect apps and how you can do impersonation rather than getting a token for each user as that's what JWT would do on the background once you can connect your application with it.

Hey @Prince Nyeche Thanks for the solution. 

0 votes

Hi! 

Please, checkout that page

https://id.atlassian.com/manage-profile/security

Hey @Gonchik Tsymzhitov 
Thanks for your response. But, this security page gives me an option to set the API token. What I'm looking for is a way, all my agents, once they log in with their Jira credentials into my custom support page, should be able to search for their issues. This search will be done by a JIRA API. This API needs an authentication token or my user's API token. I'm not sure how to get the Auth token Just by the user credentials. (please let me know if there is a method for this). and I cannot manually set the API tokens for all agents, even if they do set the API token, how will I retrieve them?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,174 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you