github / github/app

"Failed to start session" for repos behind SSO when authenticated with the SSO

未关闭
#2,080 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bugs
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

### Short summary

Cloud sessions consistently fail with "Failed to start session" for repos behind SSO

### Affected version or release

v1.0.23

### Installation context

macOS

### What happened?

Cloud sessions consistently fail with "Failed to start session" for repos behind SSO when authenticated with the SSO, but cloud sessions work for personal repos.

Image

I have double checked if I am authenticated with the SSO by logging out, and logging out in browser too, then logging in in the app, logging into GitHub, authenticating the SSO, then approving the apps access.

Cloud sessions work perfectly in personal repos without any issues.

Cloud sessions started from github.com also work perfectly find with the SSO repo too. It's just cloud sessions started from the desktop app that fail with the SSO repo.

### Steps to reproduce

1. Start a new session on a repo that is behind SSO
2. Choose "Cloud"
3. Start session with a prompt
4. See "Failed to start cloud session"
5. See it continue to use the local agent instead

### Expected behavior

Cloud sessions should work for SSO repos.

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

报告中没有指定源文件、测试或入口点。首先使用受 SSO 保护的仓库从 macOS 桌面应用重现该故障,并将其与个人仓库以及从 github.com 启动的会话进行比较;当从桌面启动的云会话能够在 SSO 仓库上工作且不会回退到本地代理时,即表示完成。

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

评估

技术栈
github, macos
领域
authentication, desktop
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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