MuseMVP

MuseMVP Base : Next.js pour Node et Cloudflare. MuseMVP Flare : un template SaaS IA qui tourne entièrement sur Cloudflare. Authentification, facturation et administration incluses.

Produit
  • Accueil
  • Tarifs
  • Modèles
Ressources
  • Docs
  • Blog
  • Journal
Mentions légales
  • Confidentialité
  • Conditions
  • Communauté
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. Tous droits réservés.

MuseMVP
  • Tarifs
  • Docs
  • Blog
  • Journal
Acheter MuseMVP Base
Docs MuseMVP
Docs MuseMVP
OverviewTech StackQuick Start
Project Structure
Authentication ArchitectureGoogle OAuthGitHub OAuth
EmailObject Storage
Internationalization
SEOAnalytics
Authentication

Cette page n'est pas encore disponible dans la langue sélectionnée. Vous consultez la version originale en English.

Voir l'original (English)

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.

Sur cette page

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

Un paiement. Taxes comprises.

MuseMVP Base

Next.js pour Node et pour Cloudflare, avec auth, paiements et admin.

$69

Acheter MuseMVP Base