Team Check should work for services and employees equally
Closed this issue · 2 comments
mo-gr commented
The team-service does not return a team for service-tokens. For that, the application registry (kio) must be queried to obtain a team name:
curl -v https://kio/apps/app-name -H "Authorization: Bearer $token" | jq .team_id
mo-gr commented
Team check should also be cached for a reasonable amount of time (1h?). No need to put high pressure on the team service during bulk updates