mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 12:23:14 +00:00
Backend endpoint POST /api/auth/callback exchanges the OAuth authorization code with Cognito's token endpoint, auto-provisions the user in the DB, and returns the access token to the frontend.
6 lines
231 B
Text
6 lines
231 B
Text
# Cognito Configuration
|
|
VITE_COGNITO_DOMAIN=proposal-system-seahaven.auth.us-east-1.amazoncognito.com
|
|
VITE_COGNITO_CLIENT_ID=your-cognito-web-client-id
|
|
|
|
# API Base URL (only needed if not using Vite proxy in dev)
|
|
VITE_API_URL=/api
|