Feature request: Configurable to use groups or principals
For other use cases it would be nice to separate group identifiers from feide userids.
I would exepct something like this:
{
"aud": "daa8f3c8-422f-abcd-a045-06238997557",
"exp": 1488403630,
"iat": 1488374830,
"iss": "https://jwt.example.no",
"principals": [
"fc:org:example.no",
],
"sub": "fc:uid:daa8f3c8-422f-abcd-a045-06238997557",
"userid-sec": "feide:test@example.org"
}