authorization icon indicating copy to clipboard operation
authorization copied to clipboard

A toolset for authorizing access to graph types for GraphQL .NET.

Results 24 authorization issues
Sort by recently updated
recently updated
newest added

Using the GraphQLAuthorize attribute, can I apply multiple policies at once ... like ["Admin", "Teacher"] . Then any user that has any of those claims get authorized.

question

Demonstration of fix for #28. @Shane32 Please review. I would like to merge after #184

enhancement
test

I have put Authorization on my Root Query, but now "ui playground" cannot get the initial introspection query to work. I can put the bearer token in UiPlayground to make...

enhancement
question

Take the following AuthorizationRequirement: namespace GraphQLNet.AuthRequirements { public class IsSelf : IAuthorizationRequirement { public Task Authorize(AuthorizationContext context) { var user = context.User; object idArg; if (context.InputVariables.TryGetValue("userID", out idArg) && user.HasClaim(c...

needs confirmation

Is it possible to white list one or more endpoints? for example: I would like to require authentication for all mutation and queries except for Login. Currently we authorize each...

question

Hello there. I am looking for an example for schema first auth and using controller for accessing api. Could anyone provide me an example?

question

This PR adds many new classes and interfaces to unify authorization architecture with such from the server project. Also adds APIs from https://github.com/graphql-dotnet/server/pull/480 to build custom errors and messages. Many...

enhancement
BREAKING
documentation
test

I just need to know how to get the error code UNAUTHENTICATED because when I use .AuthorizeWith I am getting a VALIDATION_ERROR. here is a bit of startup.cs ``` services.AddAuthentication(options...

question

… the field is not included or skipped due to directives.

enhancement