Skip to content

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

Open
m-rosinsky wants to merge 1 commit into
mainfrom
broadcast-scopes
Open

feat(auth): add broadcast.read and broadcast.write OAuth2 scopes#82
m-rosinsky wants to merge 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant