emqx / emqx-auth-jwt

EMQX JWT Authentication Plugin
https://www.emqx.com
Apache License 2.0
29 stars 24 forks source link

Set username from JWT #114

Closed kozelok closed 4 years ago

kozelok commented 4 years ago

We are currently looking to migrate from GCP IOT to emqx, but need the ability to extract username from JWT token(Our devices don't have a username). Is it possible to add an option for this plugin to set username from JWT field?

HJianBo commented 4 years ago

Duplicated: https://github.com/emqx/emqx/issues/3300