-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Remote Schema Permissions: field not found in type query_root #6892
Comments
Can still reproduce this issue on beta.2 Anyone? |
Upon further investigation I found the issue. It seems that the The workaround is to add a forwarded header of Is this normal behavior? |
I am also experiencing this on Were you using the |
@bjewkes Yes I had that flag enabled. |
Still experiencing this on v2.1.1 |
Using the latest
Hasura v2.0.0-alpha.10
and trying out Remote Schema Permissions. Test environment is docker-compose on Windows 10 using latest Docker Desktop for Windows.We added a few remote schemas to services running
Hasura 1.3.2
, and configured permissions for a role namedvisitor
. In this case, we only configured one permission for one query,system_legacy_migration_logs
to a specific remote schema. All related types are also selected for that role.When trying to issue a simple query, we receive an error as follows:
As you can see, we can select the query on the left, and it also shows up in the Docs, however the message seems to indicate that there is some permission issue? However as stated, all related types were automatically selected.
Do the remote schema services also need to run on
Hasura v2.0.0-alpha.10
? Is this a bug?Also note that remote permissions work on public remote schemas not running Hasura (i.e. Apollo server).
Thanks
The text was updated successfully, but these errors were encountered: