Skip to content

Got error for query schema "Introspection is not allowed for the current request" #7473

Closed

Description

Product

Hot Chocolate

Version

14.0.0 rc1

Link to minimal reproduction

https://github.com/ChilliCream/graphql-platform

Steps to reproduce

The function works well in locala VS, after deploy to Azure. open the schema with error "Introspection is not allowed for the current request". But i already setting following in the code. Pls help on how to fix this
builder.Services.AddGraphQLServer()
.AllowIntrospection(true)

What is expected?

Should open the graphql schema

What is actually happening?

The function works well in locala VS, after deploy to Azure. open the schema with error "Introspection is not allowed for the current request". But i already setting following in the code. Pls help on how to fix this
builder.Services.AddGraphQLServer()
.AllowIntrospection(true)

Relevant log output

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions