OmniscioGuidesSingle sign-on authorization needed
Claude Code: single sign-on authorization needed
This page is the setup check that stops before anything is installed. What /install-github-app installs once it gets past that check, and what the action does afterwards, is on Claude Code GitHub Actions.
Last checked against Anthropic's documentation on November 24, 2026. By the Omniscio team. Updated .
What is the exact message?
The wizard shows a warning with two lines, followed by the steps to authorize:
Single sign-on authorization needed
<owner>/<repo> belongs to an organization that enforces SAML single sign-on, and your GitHub CLI token isn't authorized for it yet.On a build before v2.1.273 the same condition was reported as an Admin permissions required warning instead.
What does it mean?
/install-github-app checks your access to the repository before it starts, using the GitHub CLI. For a repository in an organization with SAML single sign-on, GitHub refuses that check unless your token has been authorized for the organization as well.
The refusal is about your local credential, not about Claude Code's access. Nothing has been set up: no app installation, no secret, no workflow branch. That is why the fix is entirely on the GitHub side and the rerun is what carries it through.
The command only runs for github.com repositories. On a GitLab or Bitbucket remote the wizard prints a notice and exits instead of starting setup.
How do I fix it?
- If you sign in with the GitHub CLI, re-authorize it with the scopes the setup needs:
gh auth refresh -h github.com -s repo,workflow. Rungh auth statusfirst if you are not sure which road you are on: when it reports no login forgithub.com, your credentials come from elsewhere and the third step is yours. - Authorize the organization when GitHub prompts. The SAML authorization is the step that was missing; the scope refresh alone does not grant it.
- If you authenticate with a personal access token in
GH_TOKEN, open github.com/settings/tokens, choose Configure SSO on that token, and authorize the organization.gh auth refreshdoes not reach a token you keep there. - Run
/install-github-appagain from Claude Code in the same repository.
What the wizard does once it gets through, and how to do the same three steps by hand, is on Claude Code GitHub Actions.
How do I know it is fixed?
- The warning does not appear: the wizard moves on to choosing repositories and workflow files.
- The setup finishes, which, if you used
/install-github-app, means it pushes a branch with the workflow files and opens GitHub with a pull request ready for you to create.
Where these answers come from
- Anthropic's error reference, Single sign-on authorization needed, read November 24, 2026: the warning and its second line, the check that precedes setup, both fix paths, the contents of the
gh auth refreshcommand, and the v2.1.273 note. - Claude Code GitHub Actions, quick setup, read the same day, for what
/install-github-appdoes and the note that it runs only forgithub.comrepositories.
Common questions
Does this mean the Claude GitHub App is installed wrong?
No. Nothing has been installed yet. Claude Code runs the check before setup, and that check is what GitHub refused, so the app stays untouched until your token is authorized for the organization.
I use a personal access token, not gh auth login. What do I change?
Authorize the token for the organization. Open github.com/settings/tokens, choose Configure SSO on the token and authorize the organization there, then run /install-github-app again. Anthropic documents this path separately because gh auth refresh does not reach a token kept in GH_TOKEN.
Why does the message say Admin permissions required on an older build?
Because before v2.1.273 Claude Code showed that warning for this condition instead of naming single sign-on. The cause is the same SAML authorization gap, so the fix is the same; updating Claude Code changes the wording, not the work.
When the setup step needs a person
A setup that stops for a browser authorization waits on a person, and nothing in the session says so.
Omniscio, the desktop app we make for running many Claude Code sessions at once, shows each session's status in the sidebar and collects the sessions that need a decision from you in an inbox at the top of that sidebar. The features page covers the rest of the app, and the download page has the installers.