Skip to content

Conversation

bcherry
Copy link
Contributor

@bcherry bcherry commented May 20, 2025

Closes #118

We didn't properly support array values inside access tokens, which need to be recursively encoded. This PR adds a test to reproduce the error (with agent dispatches, although I also verified it with encoded file outputs) and then fixes it.

I also added this test to the CI. The other tests all require a running livekit dev server but this one at least does not so its suitable for CI.

there's also a small amount of format churn from ./gradlew spotlessApply

@bcherry bcherry requested review from davidliu and anunaym14 May 20, 2025 00:11
Copy link

changeset-bot bot commented May 20, 2025

🦋 Changeset detected

Latest commit: cb5b4a0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
server-sdk-kotlin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@bcherry bcherry merged commit bd5dad0 into main May 20, 2025
4 checks passed
@bcherry bcherry deleted the bcherry/access-token-list branch May 20, 2025 03:53
@davidliu davidliu mentioned this pull request May 20, 2025
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.

AccessToken.toJwt() exception when setting LivekitEgress.EncodedFileOutput
2 participants