Following redirect on FE server to avoid cross-domain issue on client-side.