Skip to content

Commit

Permalink
Use a custom claim for permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
kawazoe committed Jul 30, 2020
1 parent da87808 commit 3c41bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Westmoor.DowntimePlanner/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void ConfigureServices(IServiceCollection services)
{
foreach (var permission in Policies.All)
{
options.AddPolicy(permission, b => b.RequireClaim("permissions", permission));
options.AddPolicy(permission, b => b.RequireClaim("https://westmoor.rpg/permissions", permission));
}
});

Expand Down

0 comments on commit 3c41bf9

Please sign in to comment.