Microservices, Cloud, Api Gateway, Load Balancing, Aspnetcore.
allowed values to be present . To use this policy, we can just specify it as the value for the AuthorizationPolicy in the route configuration. services.AddAuthorization(options => { options.AddPolicy("is-vip", policy => policy .RequireAuthenticatedUser() .RequireClaim("vip", allowedValues: