add support for dynamic authorization policies

This commit is contained in:
Shaun Walker
2022-11-04 08:08:10 -04:00
parent 23d1dd23d1
commit 2aa6eb90e2
4 changed files with 57 additions and 30 deletions

View File

@ -127,8 +127,6 @@ namespace Oqtane
.WithSiteIdentity()
.WithSiteAuthentication();
services.AddOqtaneAuthorizationPolicies();
services.AddMvc(options =>
{
options.Filters.Add(new AutoValidateAntiforgeryTokenAttribute());