MuseMVP

MuseMVP Base: Next.js for Node and Cloudflare. MuseMVP Flare: an AI SaaS template that runs entirely on Cloudflare. Authentication, billing and administration included.

Product
  • Home
  • Pricing
  • Templates
Resources
  • Docs
  • Blog
  • Changelog
Legal
  • Privacy
  • Terms
  • Community
Open-Launch Top 1 Daily WinnerOpen-Launch Top 1 Daily WinnerVerified DR - Verified Domain Rating for musemvp.comVerified DR - Verified Domain Rating for musemvp.comMuseMVP - Featured on Startup FameMuseMVP - Featured on Startup FameFazier badgeFazier badgeLiftOff award badgeLiftOff award badge

© 2026 MuseMVP. All rights reserved.

MuseMVP
  • Pricing
  • Docs
  • Blog
  • Changelog
Buy All in One
MuseMVP Docs
MuseMVP Docs
OverviewTech StackQuick Start
Project Structure
Authentication ArchitectureGoogle OAuthGitHub OAuth
EmailObject Storage
Internationalization
SEOAnalytics
Authentication

Google OAuth

Configure Google OAuth login for MuseMVP.

MuseMVP supports Google OAuth via Better Auth social providers. Users can sign in or sign up directly with a Google account in one click.

Setup Steps

Create Google OAuth Credentials

Go to Google Cloud Console and create or select a project. Google Cloud Console Google Cloud Console

Tip

If you have not configured a Google OAuth app before Google OAuth App Callback URL

Google OAuth App Callback URL

Create OAuth 2.0 Client ID

In APIs & Services → Credentials, create an OAuth client ID, select Web application as the application type, and set Authorized redirect URI to: <your-site-url>/api/auth/callback/google Google OAuth App Callback URL

Client ID and Client Secret

Add both values to the selected app’s .env.local; follow Environment Variables for runtime secrets. Google OAuth App Client ID and Client Secret

GOOGLE_CLIENT_ID="3asfasdfasdfasdftest.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET="GOCSPX-FSADFASDFFASDuJjNxyMTV-hvj"
NEXT_PUBLIC_GOOGLE_ONE_TAP_CLIENT_ID="3asfasdfasdfasdftest.apps.googleusercontent.com"

Ensure config.auth.gates.allowSocialSignIn is true in packages/config.


Feature Toggle

Social login can be disabled via configuration:

// packages/config
auth: {
  gates: {
    allowSocialSignIn: false,  // Disables Google and GitHub
  },
},

Authentication Architecture

Map Better Auth entrypoints, session behavior, and role-based middleware boundaries.

GitHub OAuth

Configure GitHub OAuth login for MuseMVP.

On this page

Setup StepsCreate Google OAuth CredentialsCreate OAuth 2.0 Client IDClient ID and Client SecretFeature Toggle

One payment. Tax included.

All in One

Base, Flare and every UI template, plus new ones.

$129

Buy All in One