Skip to content

Retry / reprovision SSO command #518

Description

@aivuk

Recover from Keycloak being unavailable during tenant creation.

Tasks:

  • php artisan tenant:provision-sso {tenant} [--update]
    • --update allows overwriting existing IdP config (changed
      client_secret, new mappers, etc.)
    • Re-runs TenantIdpProvisioner for an existing tenant
  • php artisan tenant:list --sso-status=failed to surface tenants needing
    attention
  • Filament filter on the tenant list for sso_provisioning_status = failed
  • Filament action button "Reprovision SSO" on the tenant detail page
  • On success: clear sso_provisioning_error, set status=ok, update
    sso_provisioned_at

Tests: command behavior for missing-IdP and existing-IdP cases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ssoSingle Sign On

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions