-
Notifications
You must be signed in to change notification settings - Fork 688
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
[WIP] Add support for private feeds #69
base: main
Are you sure you want to change the base?
Conversation
92c07c8
to
68b1370
Compare
NuGet Client plug-in documentation: https://docs.microsoft.com/en-us/nuget/reference/extensibility/nuget-cross-platform-plugins |
□ BaGet frontend authenticationhi , guys ! About what time to completed?? plase ! |
I'm trying BaGet and I like it. Support for private feeds is something I need. Can I help with something? Some parts that I complete? Glad to help in anything I can. |
how can i get jwt token? and how in BaGet auth it? how can i setting the jwt ?is ther any about document ? |
@loic-sharma the url : https://package.jiehai-tech.com/ |
Thanks @chenzuo! One day I’ll setup an official demo endpoint with all of NuGet.org mirrored :) @pablopioli Hey, thanks for offering. I’m actually planning on taking a step back and reevaluating my approach. Right now, this requires that you setup an Azure Active Directory which is burdensome. I’d like to investigate setting up my own OAuth token server that grant access if you know the API Key. I’ll work on this next week when I get back from the holidays. Cheers! |
I have implemented Identity Server and can tell you is a lot simpler to setup Azure AD. However I see how this can bring more flexibility. Maybe an option to disable the UI? In many cases the Nuget server is only accessed using the command line (build server and code editor tooling). Using the API key to list, upload and download will be sufficient. |
Hey @loic-sharma |
What status of this feature? |
I would like to setup a private NuGet server for my company. But Private Feed is needed. What is the advancement? Can I help? |
Hello |
I want to help to complete that feature, because I need it too. BTW Thanks for that project, really appreciate it. |
What is happening here? |
I would be happy with just ldaps support on-prem... for cloud hosting SaaS would anyway be the direction. |
It seems like this hasn't been finished yet simply because nobody has done so. I'll pay 25 euros to everyone who contributes to this PR, when it is merged. Can anyone tell me what the preferred way of creating bounties is in this project? |
Hi, why not have option for simple authentication like for Publish, there is Api Key. Can something like this be done for all calls to BaGet server? Thanks |
As suggested in I would suggest You can then plug any authentication you want |
why not something inbuilt rather outsource it? There is already ApiKey based auth for package publish so why not same for view, pull etc as well. Thanks |
i really liked BaGet but also wanted private feed. I made an attempt to get something going "in a hackish way" if you like. So if someone is interested, I made some changes in my forked branch with Basic Authentication support. You can see my changes here: main...auaustria:BaGet:feature/browser-basic-auth Please use it with caution since it is only Basic Auth. You can rotate passwords and update the configuration. This maybe for someone that does not have very strict security requirements. |
Hey, whats about this Feature? Any news onto PullRequest from @auaustria ? |
Private Feeds
This adds support for private BaGet feeds using Azure Active Directory authentication. The experience is as follows:
dotnet restore
for the first time on their private BaGet feedAddresses #36
TODO
For a prototype of the client side code that will be used by the NuGet plugin, see: https://gist.github.com/loic-sharma/dca161747f13a62a6bcf8b1d04259445
/cc @nkolev92