Description:
We need to add the NEXT_PUBLIC_BACKEND_API_URL environment variable in staging environment. This variable is required for the frontend to communicate with the backend for authentication.
Details:
Variable name: NEXT_PUBLIC_BACKEND_API_URL
This should point to the backend base URL:
Staging: https://staging-api.example.com
Login and other auth features(in the future) are required to work correctly in staging and production.