can not use "https://oauth2:<token>@url" to clone code #5160

Closed
opened 2025-11-02 06:16:25 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @GQH1993 on GitHub (Mar 31, 2020).

we need use format as 'oauth2:' to clone code ,and failure occurred in the process!

  • Gitea version (or commit ref):
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

...

Screenshots

Originally created by @GQH1993 on GitHub (Mar 31, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> we need use format as 'oauth2:<token>' to clone code ,and failure occurred in the process! <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): - Git version: - Operating system: - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: ## Description ... ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
Author
Owner

@GQH1993 commented on GitHub (Mar 31, 2020):

https://github.com/go-gitea/gitea/pull/10902
Changes were made according to the problem

@GQH1993 commented on GitHub (Mar 31, 2020): https://github.com/go-gitea/gitea/pull/10902 Changes were made according to the problem
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5160