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

Authentication to private Nuget Feed fails in Azure Pipelines (via Static Web App) #2355

Open
aKzenT opened this issue Feb 13, 2024 · 1 comment

Comments

@aKzenT
Copy link

aKzenT commented Feb 13, 2024

Bug Report

I'm using Oryx via the Azure Pipelines AzureStaticWebApp@0 task. When the API is built using Orxy I'm getting "error NU1301: Unable to load the service index for source" for all custom packages stored in our Azure DevOps. I can built the project successfully using the NuGetAuthenticate@1 task followed by dotnet publish (via DotNetCoreCLI@2).

Expected:
My expectation would be that Oryx is able to use the authentication provided by NuGetAuthenticate@1 and does not fail.

I did not find any documentation to otherwise authenticate with private Nuget feeds.

@chryw
Copy link

chryw commented Mar 6, 2024

I also ended up bypassing build part from the AzureStaticWebApp and used the regular Npm task to authenticate private feed. Hope Oryx supports more configuration in the future.
Maybe in the doc mention that if you need to authenticate private feed, skip the build?
Skip building front-end app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants