Skip to content

Issues configuring JWT ACL #14530

Closed Answered by savonarola
sssmc asked this question in Q&A
Jan 12, 2025 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

From the logs, it looks like the JWT's ACL had double nesting, like

JWT = {
...
  "acl":
     {
      "acl": [
          {
            "action": "all",
            "permission": "allow",
            "topic": "testing/#"
          }
      ],
      "exp": 1736742202,
      "username": "auth0|6780a2d9d25eaaea97f7fe1b"
    },
...
}.

Could you verify?

These fields should be on the top level of the JWT payload:

"acl": [
    {
      "action": "all",
      "permission": "allow",
      "topic": "testing/#"
    }
],
"exp": 1736742202

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@sssmc
Comment options

@id
Comment options

id Jan 14, 2025
Maintainer

@savonarola
Comment options

@savonarola
Comment options

Answer selected by sssmc
@sssmc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants