Social Login (Google & GitHub)
FeedbackPulse supports OAuth2 login with Google and GitHub. Users can sign in with one click instead of creating a password.
🟢 Google Login Setup
Step 1: Create a Google OAuth Client
- Va para Google Cloud Console
- Create a new project (or select an existing one)
- Va para APIs & Services → Credentials
- Click Create Credentials → OAuth client ID
- Application type: Web application
- Name: "FeedbackPulse"
- Authorized redirect URIs:
https://yourdomain.com/auth/google/callback - Click Create
- Copy the Client ID and Client Secret
Step 2: Configure .env
GOOGLE_CLIENT_ID=xxxxxxxxxxxx.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=GOCSPX-xxxxxxxxxxxxxxxx
Step 3: Enable in Admin Panel
Va para Admin → Configuracoes → Registration:
- Enable Google login
- Save
🐙 GitHub Login Setup
Step 1: Create a GitHub OAuth App
- Va para GitHub Developer Configuracoes
- Click New OAuth App
- Application name: "FeedbackPulse"
- Homepage URL:
https://yourdomain.com - Authorization callback URL:
https://yourdomain.com/auth/github/callback - Click Register application
- Copy the Client ID
- Click Generate a new client secret → copy it
Step 2: Configure .env
GITHUB_CLIENT_ID=your_client_id
GITHUB_CLIENT_SECRET=your_client_secret