πŸ›‘
Guardian SSO setup

Install Guardian
in minutes

The setup wizard detects your existing configuration, skips completed steps, and writes sso.env and .htaccess for you.

01
System
02
Database
03
Config
04
Web Server
05
Admin
06
Done
Step 01 / 06

System Requirements

Checking your server environment. Steps that are already complete will be automatically skipped.

β—‹
PHP β‰₯ 8.1
β€”
β—‹
PDO MySQL
β€”
β—‹
Sodium (encryption)
β€”
β—‹
OpenSSL
β€”
β—‹
mbstring
β€”
β—‹
Storage directories writable
β€”
Step 02 / 06

Database

MySQL connection details. The wizard creates the database and imports the schema automatically.

β€Ό Database credentials already detected in sso.env. Skip this step or update below.
Connection
Create a dedicated user: CREATE USER 'guardian'@'localhost' IDENTIFIED BY 'pw'; GRANT ALL ON guardian_sso.* TO 'guardian'@'localhost';
Step 03 / 06

Configuration

Set your application URL and optional mail server. JWT secrets and encryption keys are generated automatically with random_bytes(32) and written to sso.env.

β€Ό Configuration already present in sso.env. Skip or update below.
Application
Full URL without trailing slash. Used for SSO callbacks and email links.
Mail (optional)
πŸ”‘ JWT_SECRET and ENCRYPTION_KEY will be auto-generated and written to sso.env
Step 04 / 06

Web Server

Write .htaccess to enable clean URL routing β€” paths like /auth/login and /admin/dashboard instead of query strings.

β€Ό .htaccess already exists in the app directory. Skip or regenerate.
Server type
Step 05 / 06

Admin Account

Create the superadmin account. Replaces the default seed credentials with your own.

βœ“

Guardian SSO is ready!

Your enterprise identity platform is installed and configured.

Login URL
β€”
Email
β€”
Password
As set in step 5
⚠
The setup wizard is automatically disabled once sso.env is fully configured. No files need to be deleted.