Expected Behavior
- Run
fj -H forgejo.example.com repo clone yaakov/test-repo ./test-reposhould now be a successfully cloned repo
Actual Behavior
yaakov@Kuat /tmp> fj -H forgejo.example.com repo clone yaakov/test-repo
Preparing...Authentication needed for https://forgejo.example.com/yaakov/test-repo.git
Username: ^C⏎
Steps to Reproduce
Not sure 100%.
I have created an application on my instance for forgejo-cli and added it to ~/.config/forgejo-cli/client_ids, after allowing http://127.0.0.1 as an allowed redirect uri:
forge.example.com d4c324fa-6fd5-41d8-9e4d-c4a9b49b211d
I have run fj -H forge.example.com auth login and logged in successfully
I have git-credential-oauth set up, I can successfully git clone the repo and git fetch and git push it directly.
fj Version
fj v0.5.0
user agent: forgejo-cli/0.5.0 (https://codeberg.org/forgejo-contrib/forgejo-cli/)
build type: from source
target: aarch64-apple-darwin
Forgejo Version
15.0.4+gitea-1.22.0 built with GNU Make 4.4.1, go1.26.5 : bindata, timetzdata, sqlite, sqlite_unlock_notify
Code of Conduct
- I agree to act in accordance with the CoC & AI Agreement.
- This issue was not generated by an LLM, even in part.
### Expected Behavior
1. Run `fj -H forgejo.example.com repo clone yaakov/test-repo`
2. `./test-repo` should now be a successfully cloned repo
### Actual Behavior
```
yaakov@Kuat /tmp> fj -H forgejo.example.com repo clone yaakov/test-repo
Preparing...Authentication needed for https://forgejo.example.com/yaakov/test-repo.git
Username: ^C⏎
```
### Steps to Reproduce
Not sure 100%.
I have created an application on my instance for forgejo-cli and added it to `~/.config/forgejo-cli/client_ids`, after allowing `http://127.0.0.1` as an allowed redirect uri:
```
forge.example.com d4c324fa-6fd5-41d8-9e4d-c4a9b49b211d
```
I have run `fj -H forge.example.com auth login` and logged in successfully
I have `git-credential-oauth` set up, I can successfully `git clone` the repo and `git fetch` and `git push` it directly.
### `fj` Version
```text
fj v0.5.0
user agent: forgejo-cli/0.5.0 (https://codeberg.org/forgejo-contrib/forgejo-cli/)
build type: from source
target: aarch64-apple-darwin
```
### Forgejo Version
15.0.4+gitea-1.22.0 built with GNU Make 4.4.1, go1.26.5 : bindata, timetzdata, sqlite, sqlite_unlock_notify
### Code of Conduct
- [x] I agree to act in accordance with the CoC & AI Agreement.
- [x] This issue was not generated by an LLM, even in part.