这是indexloc提供的服务,不要输入任何密码
Skip to content

How to deal with permissions + remote schemas  #1678

@sachaarbonel

Description

@sachaarbonel

Hi guys, I have a remote schema which is an authentication server that exposes public mutations like signup, login, verifyToken etc, and a permission on table users that permits users to only read the fields they own. When used separately everything works : I can retrieve my jwt token and use it on hasura and the permission works as expected. But when I do the mutation through hasura (without Authorizationheaders set because I should be an anonymous users) I get the error Missing Authorization header in JWT authentication mode. Is it possible to use hasura with permissions + remote schemas and how to do it? Is there a work around or a quick fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions