go-authcrunch
go-authcrunch copied to clipboard
question: custom jwt field to acl
A clear and concise description of what you want to accomplish.
how can i custom field in jwt and to acl match.eg. device_id
paylod:
{
"exp": 2676517701,
"iss": "",
"sub":"aaa",
"device_id":""
}
acl rule {
match device_id device_id1 device_id2
allow log info
}