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 ?