Repository navigation
Add dynamic auth configuration endpoint - #264
Conversation
Implement GET /api/v1/auth/config to inform the frontend of enabled auth providers (Google, Facebook) and their public client/app IDs based on server-side environment variables. Update Login, Register, and Profile pages to dynamically show or hide social login buttons based on backend capability, preventing the Facebook button from appearing when server credentials are not set.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Implement GET /api/v1/auth/config to inform the frontend of enabled auth providers (Google, Facebook) and their public client/app IDs based on server-side environment variables.
Update Login, Register, and Profile pages to dynamically show or hide social login buttons based on backend capability, preventing the Facebook button from appearing when server credentials are not set.