Skip to content

Is Master Key required in all GraphQL request headers? #6776

@borekwa

Description

@borekwa

Throughout the Parse GraphQL guide, it suggests that the Master Key is an optional header (eg, https://docs.parseplatform.org/graphql/guide/#get) and a lot of articles say you should avoid using the Master Key in client side code, but if I remove the "X-Parse-Master-Key" from my headers, the request is always "unauthorized", even if I use a valid session token.

Please clarify: is the Master Key required in all request headers? If not, how do I make an authorized request without passing in the Master Key?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:questionSupport or code-level question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions