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

Daytona doesn't work when a git url has basic auth #1448

Open
juanmav opened this issue Dec 11, 2024 · 1 comment
Open

Daytona doesn't work when a git url has basic auth #1448

juanmav opened this issue Dec 11, 2024 · 1 comment
Labels
Discussion Needs consensus enhancement New feature or request

Comments

@juanmav
Copy link

juanmav commented Dec 11, 2024

Describe the bug

Running

daytona create https://x-token-auth/:[email protected]/myorg/testrepository.git

Fails bacause the resource is not found.

I already checked git clone works properly (like the example)

git clone https://x-token-auth/:[email protected]/myorg/testrepository.git

To Reproduce
Steps to reproduce the behavior:

  1. Create a workspace with a git repository with basic auth credentials.

Expected behavior
Daytona should be able to use the git url with the credentials in the same url, as the basic auth for git.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Daytona Version: latest

Additional context
There is not basic git provider only on-top providers github/bitbucket/gitea etc etc. In my context we need the basic auth. We have many users that come and go and is not feasible to add credentials. Also, not a basic git provider is provided (only "on top" providers like github, bitbucket, gitea, etc etc)

@juanmav juanmav added the bug Something isn't working label Dec 11, 2024
@juanmav juanmav changed the title Daytona doesn't work when a git ulr with basic auth is provided Daytona doesn't work when a git ulr has basic auth Dec 11, 2024
@juanmav juanmav changed the title Daytona doesn't work when a git ulr has basic auth Daytona doesn't work when a git url has basic auth Dec 11, 2024
@Tpuljak Tpuljak added enhancement New feature or request Discussion Needs consensus and removed bug Something isn't working labels Dec 11, 2024
@Tpuljak
Copy link
Member

Tpuljak commented Dec 11, 2024

Hi @juanmav,

Changed the type to enhancement and added a Discussion flag.

We'll define what needs to be done to make this work. You have very valid points and daytona should work with direct basic auth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Needs consensus enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants