79317660

Date: 2024-12-30 12:59:11
Score: 0.5
Natty:
Report link

I also used to "role" for verification. There was the same problem. I used a different name for the ClaimType, and everything worked.

Not work: policy.RequireClaim("role", "admin").

Work: policy.RequireClaim("rl", "admin").

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: vas7n