Compliance & Security
GoAuth is built to help you meet modern compliance requirements (GDPR, SOC2, HIPAA) by providing transparent security controls and auditability.
Audit Logging​
The Audit Module tracks every security-relevant event across your system. For compliance, you can configure:
- Immutable Trails: Store audit logs in dedicated tables with retention policies.
- User Activity: Allow users to download their own security logs for transparency.
- Admin Oversight: Track every change made by administrators to user accounts.
Data Protection​
- Encryption at Rest: Sensitive OAuth provider tokens are encrypted using AES-GCM before storage.
- Password Security: Uses Argon2 or bcrypt with configurable salt and work factors via
SecurityConfig. - Session Control: Revoke all active sessions instantly when a breach is suspected.
Verification Flows​
- Email/Phone Verification: Enforce verification before allowing access to sensitive data.
- Two-Factor Authentication: Native TOTP support for an additional layer of security.
- Account Linking: Securely link multiple identities to a single email with strict ownership verification.