Trouble using standard Windows OAuth flow on L3 server

未关闭
#4 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
git, github

调研方向

首先,在 L3 服务器上复现 /e/anna_r 的 HTTPS 克隆,并比较 issue 中显示的服务器和笔记本电脑 Git 配置。检查 GitHub OAuth 失败以及随后发生的 OpenSSH fallback,并将链接的 Stack Overflow 帖子作为上下文。完成的标准是确定原因,并且标准的基于 GitHub Web 的 OAuth 流程能够在服务器上正常工作,或者已记录所需的 workaround。

由索引模型根据 Issue 内容生成。

描述

When @AnnaB45 git clones an https git URL on her laptop, it works, using the standard Github web-based oauth (note tail-end of her git config there, in case useful):

image

When she does the same thing on the L3 server, from the /e/anna_r directory, she gets a GitHub login dialog, it then fails (not clear exactly how), falls back to an OpenSSH login dialog, and then fails (per this SO post).

image

Here's her git config on the L3 server:

image

As a workaround she is currently logging in with a PAT

主要语言
Python
星标
0
派生
0
平均合并
12 小时 47 分钟
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

opensafely-core/sysadmin 的其他 Issue

查看 opensafely-core/sysadmin 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。