Not authorized (token) when GET groups via REST API

Hi @fluca1978.

I just used the GUI to create an access token that has admin.group permission set

image

and used it with curl as follows:

curl --location 'http://localhost:3000/api/v1/groups' --header 'Content-Type: application/json' --header 'Authorization: Bearer xxx'

Works fine.