Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: custom jwt field to acl #38

Open
New2Niu opened this issue Feb 16, 2023 · 0 comments
Open

question: custom jwt field to acl #38

New2Niu opened this issue Feb 16, 2023 · 0 comments
Assignees
Labels
need triage question Further information is requested

Comments

@New2Niu
Copy link

New2Niu commented Feb 16, 2023

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
 }
@New2Niu New2Niu added need triage question Further information is requested labels Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need triage question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants