Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create domain for rcal staging and point it to the backend and frontend #76

Open
prakashchoudhary07 opened this issue Feb 14, 2023 · 0 comments
Assignees

Comments

@prakashchoudhary07
Copy link
Collaborator

Issue: Currently backend is hosted on Render's Domain and frontend is on Vercel domain, so while authentication cookies are being set on Render's domain so they are not accessible in the frontend (Vercel domain), due to security reasons browser doesn't allow it.

Solutions:

  1. Create sub-domains with the same domains second-level and top-level domains, so that cookies can be accessed
  2. Host both frontend and backend on the same domain
@prakashchoudhary07 prakashchoudhary07 self-assigned this Feb 14, 2023
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

No branches or pull requests

1 participant