Skip to content

[Feature Request] Allow queries with HTTP Basic Auth (.htaccess) #245

@4DLaCode

Description

@4DLaCode

During development of a site it is nice to have a basic protection setup up using .htaccess. I noticed that when I am logged in my site, no queries can run successfully as long as I have access restricted using .htaccess.

The error message of the query result is not helpful in this case:

{
"errors": [
{
"message": "Unexpected token '<', "<!DOCTYPE "... is not valid JSON",
"stack": "SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON"
}
]
}

Thanks a lot!! The project and documentation seems pretty solid. I will dig deeper into the space.

Note: I am pretty new to the field of GraphQL and so forth. Just getting my hands dirty...

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