github / github/app

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

Ouverte
#2,080 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Bugs
Langage dominant
Aucune donnée de langage
Étoiles
2.1k
Forks
153
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### 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_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

No source file, test, or entry point is named in the report. Start by reproducing the failure from the macOS desktop app with an SSO-protected repository, comparing it with a personal repository and a session started from github.com; done means desktop-started cloud sessions work for SSO repositories without falling back to the local agent.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
github, macos
Domaine
authentication, desktop
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.