Authentication
NuxtPro uses BetterAuth for authentication in both the client app and the admin dashboard.
It supports third-party OAuth providers such as Google and GitHub. The admin dashboard uses email + password for convenience, and 2FA is also supported for stronger security.
Setup guide
To use BetterAuth, you’ll first need a 32-byte secret key. Generate one like this:
bash
openssl rand -base64 32Then follow the guide at BetterAuth configuration and paste the generated key.

Google OAuth
Google OAuth setup is already encapsulated—see Google OAuth configuration for details.
GitHub OAuth
GitHub OAuth setup is already encapsulated—see GitHub OAuth configuration for details.