oauth-2.0 - Gitlab oauth2 访问令牌不能通过 http 使用 git
问题描述
我成功获得了 gitlab 用户的 oauth2 应用程序访问令牌。范围包括 read_repository。但我无法使用此访问令牌作为密码 git ls-remote 或 git clone 我的项目。错误是remote: HTTP Basic: Access denied
顺便说一句,我的 gitlab CE 服务器没有启用 F2A。
解决方案
推荐阅读
- javascript - React Component 在调用函数时使用第一个元素 props 而不是他自己的
- javascript - 如何优雅地在键/值对中传递 URI 参数
- asp.net - Ajax 两次调用 ASP.NET MVC 控制器操作,但仅在第一次 Ajax 调用时
- image - datagridview图像显示不正确c#
- activemq - Mule ActiveMQ 连接器不会重新连接到 Amazon MQ 负载均衡器
- prometheus - 即使设置了默认值,如果时间范围内没有数据, histogram_quantile 也会删除列
- python - 如何将一系列输入绑定到一个绑定命令?
- php - PHP 多维关联数组按值搜索
- java - 在 1.8.8 上反编译 MCP
- google-chrome - 如何禁用 Chrome 检查器不断刷新?