Skip to content

Is there a way to change the status code of the authorization extension from 400 to 401? #986

@nichovski

Description

@nichovski

Hi guys,

It is very strange when my HTTP response codes are not corresponding to the error I want to return to the front end. How can I change that?

I've tried overriding the GraphQLMiddleware, but it is triggered only when my query doesn't have errors.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions