RobertIndie opened a new pull request #10375:
URL: https://github.com/apache/pulsar/pull/10375
### Motivation
In some use cases of JWT, the type of role claim in the token is the array
type.
For example, the token in Azure ActiveDirectory is like the following:
```json
{
......
"roles": [
"user1"
],
......
}
```
Currently, pulsar's JWT cannot support handling array-type claims, we need
to add support for this.
### Modifications
* Add support handling array-type claims for pulsar JWT authentication. If
the role claim is the array type, take the first element as the role.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]