Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

How to use JWT token used obtained using MSAL library to commit code in Azure Repo

$
0
0

We are using @azure/msal-react node module to authenticate a user. User is prompted to enter his uid/pwd and Azure AD authenticates the user. Once, authenticated, user gets a JWT token.

This token is passed to Spring boot based rest API along with every request to our API server. Spring framework, authenticates the user using this token.

I now want to use this token to commit code in Azure GIT repo. I want to make restful calls from our Rest API to Azure Dev Ops API by passing this JWT token to commit the code.

  • What permission needs to be given to the user in order to perform this task & where do I need to set these permissions?
  • is it possible to use JWT token issued by Azure AD from one application to perform another task with another application ?

Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>