Is there a command to send to the REST API to get the groups associated with the provided token?
From the command line, execute the curl command against the rest server, passing a valid JWT token.
$ curl <REST_URL>:<REST_PORT>/api/get-user -H 'authorization: Bearer <token>'
The command returns a JSON object with a "groups" field. This field will tell you which groups Okera determines the user contained in the token is associated with.