Skip to content

Add pscale org sso commands - #1390

Merged
no-itsbackpack merged 6 commits into
mainfrom
egomez/org-sso
Aug 28, 2026
Merged

Add pscale org sso commands#1390
no-itsbackpack merged 6 commits into
mainfrom
egomez/org-sso

Conversation

@no-itsbackpack

@no-itsbackpack no-itsbackpack commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add pscale org sso to show, enable, configure, and disable organization SSO, including directory sync and email domain verification

Test plan

  • pscale org sso show --org <org> --format json
  • enable, configure, directory enable, and domain verify return a setup URL
  • disable, directory disable, and domain delete require --force in JSON

Let org admins show, enable, configure, and disable SSO, including
directory sync and email domain verification, from the CLI.

Co-authored-by: Cursor <cursoragent@cursor.com>
@no-itsbackpack
no-itsbackpack requested a review from a team as a code owner August 27, 2026 23:09
Reuse one request type for SSO calls, drop extra help text, and stop
opening a browser from JSON enable so agents can use domain_verification_url.

Co-authored-by: Cursor <cursoragent@cursor.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: high. Cursor Bugbot is still in progress after the wait window, so this run is not approving. Human review is needed for these organization SSO commands. No reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: cli-reviewer

JSON SSO responses now include the next command in the workflow, including
org update flags for SSO-profile and directory-sync role management.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread internal/cmd/org/update.go Outdated
no-itsbackpack and others added 2 commits August 28, 2026 10:27
Enabling --idp-managed-roles or --idp-sso-managed-roles now sends the
other as false, so following the SSO setup next_steps cannot leave both
settings on.

Co-authored-by: Cursor <cursoragent@cursor.com>
Domain verify still only returns a portal URL. With --wait it lists until
a new domain id appears, then polls show until verified or failed.

Co-authored-by: Cursor <cursoragent@cursor.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e6f53ff. Configure here.

Comment thread internal/cmd/org/sso_domain.go
Co-authored-by: Cursor <cursoragent@cursor.com>
@no-itsbackpack
no-itsbackpack merged commit a14c275 into main Aug 28, 2026
4 checks passed
@no-itsbackpack
no-itsbackpack deleted the egomez/org-sso branch August 28, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants