@php($canRunProviderOps = $this->canRunProviderOperations())
Tenant onboarding wizard
This is the single supported entry point for creating and onboarding tenants. You can safely close this page and resume later.
Note: the legacy “create tenant” screens are intentionally disabled to keep onboarding consistent and auditable.
@if ($this->tenantId)
Session: {{ $this->sessionId }}
Client secret: {{ $this->tenantHasClientSecret() ? 'set' : 'missing' }}
If you need to resume later, open this wizard again from the tenant’s “Resume onboarding” action.
@endif @if ($this->tenantId && $this->currentStep === 'permissions')
Required permissions
Verify permissions
@php($runStatus = $this->latestVerificationRunStatus()) @if ($runStatus)
Last verification run status: {{ $runStatus }}
@endif
@forelse ($this->permissionRows() as $permission)
{{ $permission['key'] }}
@if (! empty($permission['description']))
{{ $permission['description'] }}
@endif
@php($status = (string) ($permission['status'] ?? 'missing')) $status === 'granted', 'bg-rose-50 text-rose-700 dark:bg-rose-950 dark:text-rose-300' => in_array($status, ['missing', 'error'], true), 'bg-amber-50 text-amber-800 dark:bg-amber-950 dark:text-amber-300' => ! in_array($status, ['granted', 'missing', 'error'], true), ])> {{ ucfirst($status) }}
@empty
No required permissions are configured.
@endforelse
@endif @if ($this->tenantId && $this->currentStep === 'verification')
Verification
Check connection
@php($connectionRunStatus = $this->latestConnectionCheckRunStatus()) @if ($connectionRunStatus)
Last connection check status: {{ $connectionRunStatus }}
@endif
@if ($this->isReadyToCompleteOnboarding()) Ready: all stored checks look good. @else Not ready yet: run checks and ensure permissions are granted. @endif
@endif
{{ $this->form }}