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
This code should keep the previous grants and add roomAdmin grant to the token, instead, it replaces previous grants and adds only roomAdmin grant to the token.
I am not sure if this is intentional, I was not able to join a room with just roomAdmin grant.
Consider this following use case:
This code should keep the previous grants and add
roomAdmin
grant to the token, instead, it replaces previous grants and adds onlyroomAdmin
grant to the token.I am not sure if this is intentional, I was not able to join a room with just
roomAdmin
grant.I can open a PR that fixes this issue.
https://github.com/livekit/server-sdk-js/blob/e9e24658479c72bbcd156d62f046a51c608d8731/src/AccessToken.ts#L83
The text was updated successfully, but these errors were encountered: