Overview
To configure Guardian for your application, you need to set up tenant-specific configurations. Start with the basic mandatory configurations, then add flow-specific configurations based on the authentication methods you want to enable.
Introduction
Section titled “Introduction”- Start with Basic/Mandatory Configurations - Required for all authentication flows
- Add Flow-Specific Configurations - Only configure what you need for your specific authentication methods
Required Configurations by Flow
Section titled “Required Configurations by Flow”Use this table to quickly identify which configurations you need for each authentication flow:
| Authentication Flow | Required Configurations |
|---|---|
| All Flows | Tenant, Client, Token, User |
Any Flow with responseType: "code" | + Auth Code |
| Passwordless (SMS-OTP) | + OTP, SMS |
| Passwordless (Email-OTP) | + OTP, Email |
| Google Login | |
| Facebook Login | |
| External OIDC Provider | + OIDC Provider |
| Guardian as OIDC Provider | + OIDC |
| Username/Password | No additional configs (uses basic configs only) |
| Contact Verification | + Contact Verify + (SMS or Email) |
| Guest Login | + Guest |
| Admin Logout | + Admin |
Configuration Files
Section titled “Configuration Files”Basic/Mandatory Configurations
Section titled “Basic/Mandatory Configurations”These are required for all authentication flows:
- Tenant Configuration - Create a tenant (start here)
- Client Configuration - Guardian client registration
- Token Configuration - Guardian tokens settings
- User Configuration - User service connection settings
Flow-Specific Configurations
Section titled “Flow-Specific Configurations”Configure these only when using the corresponding authentication methods:
Auth Code:
- Auth Code Configuration - For
responseType: "code"flows
Passwordless (OTP):
- OTP Configuration - OTP settings
- SMS Configuration - SMS service for SMS-OTP
- Email Configuration - Email service for Email-OTP
- See SMS/Email Service Integration for integration details
Social Login:
- Google Configuration - Google OAuth
- Facebook Configuration - Facebook OAuth
- External OIDC Provider Configuration - Custom OIDC providers
Other:
- Guardian OIDC Provider Configuration - Guardian as OIDC provider
- Contact Verification Configuration - SMS/Email verification
- Guest Configuration - Guest authentication
- Admin Configuration - Admin credentials
Next Steps
Section titled “Next Steps”- Start with Tenant Configuration to create your tenant
- Configure Client, Token, and User settings
- Add flow-specific configurations based on your authentication requirements