Open sonwan2020 opened 3 months ago
I also have similar questions:
Hi @sonwan2020, you can use idToken to get access token for azure resources you need. Please check this blog post section (Custom Azure tasks and extensions).
Hi @jiec-msft, I'm not aware of official Java SDK for such purposes. Here is the of official ADO REST clients: https://learn.microsoft.com/rest/api/azure/devops#client-libraries
And for the IDToken acquisition doc, is the accessToken still needed in the request to get IDToken?
Yes, you'll need accessToken to be able to reach the required endpoint. Reference: https://learn.microsoft.com/en-us/rest/api/azure/devops/distributedtask/oidctoken/create#security
Task name
Maven
Task version
3
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu
Question