You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.
So I had the dev server proxy requests on http://localhost:8080/ros to my ROS instance on Realm Cloud. And I therefore wanted to pass http://localhost:8080/ros when constructing the user:
const user = await User.authenticate(
credentials,
'http://localhost:8080/ros',
);
In an attempt to work around https://github.com/realm/raas/issues/1075 I tried using WebPack dev servers ability to act as a proxy in-front-of your API (in this case I wanted it to be in front of ROS).
So I had the dev server proxy requests on http://localhost:8080/ros to my ROS instance on Realm Cloud. And I therefore wanted to pass
http://localhost:8080/ros
when constructing the user:But because of https://github.com/realm/realm-graphql/blob/master/src/authenticationHelper.ts#L19 the
/ros
part of the URL is removed and instead of appending/auth
to the url it becomeshttp://localhost:8080/auth
which fails with a 404.I would expect the server URL passed to
User.authenticate
to be the base URL of the ROS server, which could potentially have some path defined.The text was updated successfully, but these errors were encountered: