You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenAPI docs: identityname should be identity.name, and token scope admin should be global #2707
GET /api/v2/events/submit?...&identity=jane@example.com&identityname=Jane stores identityname as a custom data property, and the user's name isn't set.
Creating a token with "scopes": ["admin"] returns a validation error, "Invalid token scope requested."
Expected
The parameter is documented as identity.name, and the scope descriptions list client, user, global (global admins only), and source-maps:write.
Suggested fix
Rename the parameter key and description in EventEndpoints.cs, fix the three token descriptions, and regenerate openapi.json. Optionally accept identityname as an alias in EventHandler for clients that followed the docs.
Activity