Don't have Telegram yet? Try it now!
https://www.craftedforeveryone.com/custom-authorization-policy-provider-with-custom-authorize-attribute-in-asp-net-core-2-2-and-above/
Custom Authorization Policy Provider with Custom Authorize Attribute in Asp .Net Core 2.2 and above