This repository is an example Medusa store demonstrating Single Sign-On (SSO) integration for the admin dashboard.
📖 Read the full implementation guide: Implementing SSO for MedusaJS Admin Dashboard
- Node.js 20+
- Docker
- Docker Compose
- Create a Google OAuth Client. Ensure to specify the following:
- Authorized origins:
http://localhost:9000 - Authorized redirect URIs:
http://localhost:9000/app/login?provider=google
- Note down your
Client IDandClient Secret
Copy .env.template to .env and fill in the following required values:
# Google OAuth Configuration
MEDUSA_AUTH_GOOGLE_CLIENT_ID=your_google_client_id_here
MEDUSA_AUTH_GOOGLE_CLIENT_SECRET=your_google_client_secret_hereTo start the store and all required services:
- run
npm run docker:up