Access Private Repo Github don't send authentification
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
### Description
I have a problem to debug and step into the source code for my package.
SourceLink is not working properly for my own package (see attached screenshot).
---
### Package Information

---
### Basic Information
- IDE: VSCODE
---
### Configuration Package
```
net6.0
enable
disable
$(DefaultItemExcludes);PublishWebDeploy*\**;.logs\**
********
Davy L
2022
true
false
https://github.com/***********/Ginkoia.API.Common
true
snupkg
portable
$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))
v
latest
true
true
true
true
$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb
runtime; build; native; contentfiles; analyzers; buildtransitive
all
runtime; build; native; contentfiles; analyzers; buildtransitive
all
```
---
### Configuration Consumer
launch.json
```
"justMyCode": false,
"symbolOptions": {
"searchMicrosoftSymbolServer": true,
"searchNuGetOrgSymbolServer": true,
},
"sourceLinkOptions": {
"*": { "enabled": false}
},
"suppressJITOptimizations": true,
"requireExactSource": false
```
---
### Error Message
```
// Le fichier source '\_\Ginkoia.Api.Common\Services\CollectionServicesExtensions.cs' est
// introuvable sur cet ordinateur. Le fichier PDB du module de ce fichier source contient
// des informations permettant de télécharger le fichier source via Source Link, mais la
// requête du débogueur visant à télécharger ce fichier source n'a pas abouti.
//
// Échec de la requête avec le code d'état HTTP 404 (NotFound).
//
// URL à partir de laquelle le fichier source va être téléchargé :
// https://raw.githubusercontent.com/********/Ginkoia.API.Common/055ebe11ac4755d397bdc36423f41c8a9f21a6f1/Ginkoia.Api.Common/Services/CollectionServicesExtensions.cs
//
// Pour plus d'informations sur Source Link et VS Code, consultez :
// https://aka.ms/VSCode-DotNet-SourceLink
```
---
### Acces by GitHub Web interface
- If I look at the raw for the commit in question from the web interface, I can get it.
```
https://raw.githubusercontent.com/********/Ginkoia.API.Common/055ebe11ac4755d397bdc36423f41c8a9f21a6f1/Ginkoia.Api.Common/Services/CollectionServicesExtensions.cs?token=xxxxx
```
- The only difference is that in the address the TOKEN is passed as a parameter,
but I don't know where and how sourcelink uses my PAT
# I don't know where my mistake is. Please help me
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.