Simple download link for public access to Releases in Private project

I créated a Release through Project overview>Releases where the release assets for the source (zip, tar.gz, tar.bz2 and tar) are available as links that are functionnal when the member is logged in.
Example of a link: https://git.example.com/namespace/project/-/archive/minimum_build/project-minimum_build.tar.gz

How can I propose such a release resource as a direct download link to a third party that does not have access to the GIT instance without requiring him to use curl or similar to insert headers in the request for instance? It’s ok if I need to add a token to the URL .

You could try like this:

https://username:access_token@git.example.com/

replacing username and access_token accordingly. It might work. I use similar URL authentication structure for git cloning over https.

@iwalker Thank you for your suggestion.

I tried, it works for GIT access, but not for access to the release files in the same project.