Tokens endpoint always returns empty Name string for its roles
Open
stage/accepted
theme/security
type/bug
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
Exploring adding roles to a token, and while the response from the /tokens endpoint includes a Roles list with Name fields, they appear to always be blank, while the CLI returns names as expected.

I'm still able to use the ID provided to make a separate request to the role to get its name and other properties, but the presence of the Name field in the tokens response indicates that I should expect it here, too.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.