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

Cannot use Client Certificate Authentication in .http files #59285

Closed
vsfeedback opened this issue Dec 3, 2024 · 6 comments
Closed

Cannot use Client Certificate Authentication in .http files #59285

vsfeedback opened this issue Dec 3, 2024 · 6 comments
Labels
area-security Author: Migration Bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author. External This is an issue in a component not contained in this repository. It is open for tracking purposes. untriaged

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


I would like to ask for dfferent types of authentication support for HTTP files.

Currently it is possible to specify a token in the Authorization header but Client certificate authentication is not possible via http files. Therefore, we have to use Postman or other tools for testing such APIs.


Original Comments

Feedback Bot on 11/19/2024, 04:16 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

@ViktorHofer
Copy link
Member

This is asking about a new feature / API in networking hence I moved this to GitHub. @dotnet/ncl PTAL

@rzikm
Copy link
Member

rzikm commented Dec 3, 2024

If it is the same .http files as in this article https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-9.0, then this is probably not the right repository and the team working on the .http file editor should be better audience for this.

Note that the mentioned website explicitly calls out that certificate auth and many other features are unsupported in the Visual Studio .http editor, but are supported in VS Code's REST Client extension.

@ManickaP ManickaP transferred this issue from dotnet/runtime Dec 3, 2024
@dotnet-policy-service dotnet-policy-service bot added the Author: Migration Bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author. label Dec 3, 2024
@mkArtakMSFT
Copy link
Member

@captainsafia who do you think this issue should go to?

@mkArtakMSFT mkArtakMSFT added the External This is an issue in a component not contained in this repository. It is open for tracking purposes. label Dec 3, 2024
@halter73
Copy link
Member

halter73 commented Dec 4, 2024

This is documented as currently unsupported, so this is more of a VS feature request than a bug:

Unsupported syntax

...

  • Certificate based authentication

https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-9.0#unsupported-syntax

@mkArtakMSFT
Copy link
Member

I've reopened the original VS Feedback ticket and pinged @sayedihashimi to help with routing. Closing this as external.

@mkArtakMSFT mkArtakMSFT closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-security Author: Migration Bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author. External This is an issue in a component not contained in this repository. It is open for tracking purposes. untriaged
Projects
None yet
Development

No branches or pull requests

5 participants