How to Disable Authentication/Authorization in GraphQL Endpoints for Local Debugging #7358
Unanswered
AliKhalili
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In ASP.NET Core, we can bypass authorization on an all endpoint using the
AllowAnonymous
extension.I’m wondering how we can achieve a similar effect for GraphQL endpoints to allow anonymous access globally. This would make the debugging process easier on a local machine.
Is there a better way to disable authentication/authorization for local development without using C# preprocessor directives?
Beta Was this translation helpful? Give feedback.
All reactions