Skip to content

Fix /admin/social-auth production routing - #23

Merged
smshagor-dev merged 2 commits into
mainfrom
fix/admin-social-auth-route
Aug 19, 2026
Merged

Fix /admin/social-auth production routing#23
smshagor-dev merged 2 commits into
mainfrom
fix/admin-social-auth-route

Conversation

@smshagor-dev

Copy link
Copy Markdown
Owner

Summary

Fix the Social Login admin page not opening at /admin/social-auth in non-Vercel production setups.

Root cause

social-auth.html is generated as a standalone webpack entry and Vercel already rewrites the clean URL correctly, but the Node production fallback and Apache .htaccess sent /admin/social-auth to the generic admin SPA (admin/index.html) before the standalone page could load.

Fix

  • Route /admin/social-auth to admin/social-auth.html before the generic admin SPA fallback in the Node server.
  • Add the same extensionless standalone mapping to Apache .htaccess.
  • Keep the existing standalone admin pages (storage, calling, calling-push) consistent with the same routing behavior.
  • No changes to admin auth, social-login API behavior, provider credentials, or client login flow.

Scope

Routing only: backend/server/server.js and frontend/.htaccess.

@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

Deployment failed for project syncchat with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/smshagor-devs-projects?upgradeToPro=build-rate-limit

@smshagor-dev
smshagor-dev merged commit 486ac77 into main Aug 19, 2026
2 of 4 checks passed
@smshagor-dev
smshagor-dev deleted the fix/admin-social-auth-route branch August 19, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant