We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We used the JWT authentication and discovered that the acl claims are only working if the JWT also includes a valid exp date.
I expect this to be documented at least somewhere. I'm not even sure if this is a feature or a bug.
{ "clientid": "test", "acl": {"all": ["foonbar"]}, "exp": 9999999999 // <- Without this, the acl is not respected }
No response
$ ./bin/emqx_ctl broker sysdescr : EMQX version : 5.0.9 datetime : 2022-10-24T13:51:56.988813849+00:00 uptime : 30 minutes, 56 seconds
# On Linux: $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" $ uname -a Linux emqx 5.4.0-120-generic #136-Ubuntu SMP Fri Jun 10 13:40:48 UTC 2022 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered:
@flashspys Yes, after investigation I have confirmed that this is a bug and we will fix it later
Sorry, something went wrong.
exp
lafirest
Successfully merging a pull request may close this issue.
What happened?
We used the JWT authentication and discovered that the acl claims are only working if the JWT also includes a valid exp date.
What did you expect to happen?
I expect this to be documented at least somewhere. I'm not even sure if this is a feature or a bug.
How can we reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
No response
EMQX version
OS version
Log files
The text was updated successfully, but these errors were encountered: