Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: What authentication methods are supported for InvokeRESTAPI? #20723

Open
1 of 4 tasks
jennings opened this issue Dec 10, 2024 · 0 comments
Open
1 of 4 tasks

Comments

@jennings
Copy link

jennings commented Dec 10, 2024

Task name

InvokeRESTAPI

Task version

1

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

N/A

Question

The documentation is unclear how InvokeRESTAPI authenticates to the server it's sending a request to. Generic service credentials have separate username and password fields, but neither the credential nor InvokeRESTAPI specify whether they will always be used with HTTP Basic authentication, or if there's any way to use the Bearer scheme, or something else.

I looked up the InvokeRESTAPI task but found there's no actual code here, just a HttpRequest block since it's a server side task. Then I found the server side task authoring documentation, but it says only:

EndpointId: - EndpointId that should be used to generate the authentication header.

The documentation should specify exactly how authentication is handled, even if the answer is, "Only HTTP Basic authentication is supported".

@jennings jennings changed the title [Question]: What authentication methods are supported? [Question]: What authentication methods are supported for InvokeRESTAPI? Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant