Skip to content

feat(controlplane): workspace slug SSO flow and other fixes#2583

Merged
jirevwe merged 4 commits intomainfrom
fix/login-license-features-and-sso
Mar 2, 2026
Merged

feat(controlplane): workspace slug SSO flow and other fixes#2583
jirevwe merged 4 commits intomainfrom
fix/login-license-features-and-sso

Conversation

@mekilis
Copy link
Collaborator

@mekilis mekilis commented Feb 28, 2026

No description provided.

- Add setLicenses(instanceLevelOnly) and getLicenses(orgId?, instanceLevelOnly)
- Login and signup call setLicenses(true) so /license/features is called without orgID
- Stops wrong org-scoped request on public pages (e.g. stale CONVOY_ORG)
…ing GetWorkspaceConfigBySlug

- Add services/workspace_slug.go: resolve by slug via billing workspace_config
- InitSSO: use slug to get license_key + external_id, local orgRepo/orgMemberRepo, clear errors
- GetAuthConfiguration: expose billing_enabled and slug for dashboard
- Billing client: GetWorkspaceConfigBySlug, WorkspaceConfigData; mock implements it for tests
- Login UI: slug input, Continue flow, validation, API error message, button styling
- config.service: optional slug param; source.go: guard subscription source_metadata
@mekilis mekilis changed the title feat(controlplane): workspace slug SSO flow and auth config slug/billing_enabled feat(controlplane): workspace slug SSO flow and other fixes Feb 28, 2026
- Remove fmt.Printf debug logs from InitSSO (auth.go)
- Remove or shorten comments in configuration.go, workspace_slug.go, billing models
@jirevwe jirevwe merged commit 7d683ea into main Mar 2, 2026
15 checks passed
@jirevwe jirevwe deleted the fix/login-license-features-and-sso branch March 2, 2026 10:37
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