Integrate an existing project using VATs with Unity Authentication
Integrate Unity Authentication to an existing Vivox project that's already using Vivox Access Token.
Read time 2 minutesLast updated 2 days ago
If you already have a Vivox integration that's using VATs for players to join channels and interact with Vivox, you can use this guide to integrate with UAS to access the full suite of services Unity provides. You will have to make some changes to the player sign-in flow and the VAT creation flow. Overall, the two flows will work like this:

Sign In
- Register all users with the UAS custom ID provider on sign-in and retrieve and
accessTokenfor players.sessionTokens - Set up the AuthenticationService in the client using the and
accessTokensessionToken
Creating VATs
- The Vivox SDK will request a VAT from the backend whenever one is needed using a custom token provider implementation.
- Add the to the request to the backend when requesting VATs within the
accessTokenmethod.GetTokenAsync - Validate and extract the needed information from the token in the backend and create the Vivox Access Token to send it back to the client.