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

I want to check if a user is authenticated (**NOT** authorized) for a specific query, resolver, etc. via a JWT Token in the `Authorization` Header. I also need to integrate...

question

Hi, I have some authorizations setup to handle Queries and Mutations like so (simplified) ``` services.AddSingleton(x => { AuthorizationSettings settings = new AuthorizationSettings(); settings.AddPolicy(AuthConstants.USERS_POLICY, p => p.RequireClaim(ClaimTypes.Role)); settings.AddPolicy(AuthConstants.ADMIN_POLICY, p =>...

question

I'm trying to authorize a field by validating it´s input arguments in a custom policy. My policy gets executed correctly but the Arguments property of the AuthorizationContext variable is always...

question

Should `AuthorizeWith` report an error if a field the user isn't authorized for is excluded from the query via the `@include` or `@skip` directives? (It currently does.)

enhancement

Bumps [Microsoft.Extensions.DependencyInjection](https://github.com/dotnet/runtime) from 6.0.0 to 6.0.1. Release notes Sourced from Microsoft.Extensions.DependencyInjection's releases. .NET 6.0.1 Release Commits 3a25a7f Merge in 'release/6.0' changes e9036b0 [release/6.0] Add packaging changes for System.Text.Json (#61703) bfdc5e9...

dependencies
.NET

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.3.1 to 17.3.2. Release notes Sourced from Microsoft.NET.Test.Sdk's releases. v17.3.2 See the release notes here. Commits dd7c26b Fixed Selenium test run hang after stopping the debugger (#4013)...

dependencies
.NET

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.7.0 to 17.8.0. Release notes Sourced from Microsoft.NET.Test.Sdk's releases. v17.8.0 What's Changed Full Changelog: https://github.com/microsoft/vstest/compare/v17.7.2...v17.8.0 v17.8.0-release-23468-02 What's Changed Upgrade Newtonsoft.Json from 13.0.1 to 13.0.3 by @​mthalman in...

dependencies
.NET

Bumps [xunit](https://github.com/xunit/xunit) from 2.5.0 to 2.6.1. Commits 9f1684f v2.6.1 5d9ef4b Remove unnecessary XUNIT_VALUETASK definition 0266bac Latest assertions fb3c3cf Remove all ValueTask support from assertions 801790c Reconcile AcceptanceTestAssembly and friends with...

dependencies
.NET

Bumps [Roslynator.Formatting.Analyzers](https://github.com/dotnet/roslynator) from 4.4.0 to 4.6.1. Changelog Sourced from Roslynator.Formatting.Analyzers's changelog. [4.6.1] - 2023-10-23 Fixed Fix RCS1197 (PR). [4.6.0] - 2023-10-18 Added Add social card (PR). Add nullable annotation to...

dependencies
.NET

Bumps [Roslynator.Analyzers](https://github.com/dotnet/roslynator) from 4.4.0 to 4.6.1. Changelog Sourced from Roslynator.Analyzers's changelog. [4.6.1] - 2023-10-23 Fixed Fix RCS1197 (PR). [4.6.0] - 2023-10-18 Added Add social card (PR). Add nullable annotation to...

dependencies
.NET