Skip to content

feat(auth): add broadcast.read and broadcast.write OAuth2 scopes - #82

Merged
m-rosinsky merged 1 commit into
mainfrom
broadcast-scopes
Jul 7, 2026
Merged

feat(auth): add broadcast.read and broadcast.write OAuth2 scopes#82
m-rosinsky merged 1 commit into
mainfrom
broadcast-scopes

Conversation

@m-rosinsky

Copy link
Copy Markdown
Contributor

Summary

  • Adds broadcast.read and broadcast.write to the OAuth2 scope list requested during xurl auth oauth2, supporting the new livestreaming broadcast endpoints (e.g. POST /2/broadcasts/:id/chat).
  • Both scopes are now registered in the authorization server's production scope catalog.

Test plan

  • go build ./...
  • go test ./auth/ (extended TestGetOAuth2Scopes to assert both new scopes)

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@m-rosinsky
m-rosinsky merged commit 99a7848 into main Jul 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants