Example: Login token
An example of a Login token that allows a user to sign in to the server.
Read time 1 minuteLast updated 2 days ago
The token in this example allows the user "jerky" to sign in to the server. If you're using Unity Authentication Service for user management, put the UASID in the place of "jerky".
The token expiration time is September 17, 2020 at 1:30 PM UTC.
The token signing key is "secret!" (not including quotes).
Header
{}
Payload
{ "iss":"blindmelon-AppName-dev", "vxi":933000, "vxa":"login", "exp":1600349400, "f":"sip:.blindmelon-AppName-dev.jerky.@tla.vivox.com"}
Access token
e30.eyJpc3MiOiJibGluZG1lbG9uLUFwcE5hbWUtZGV2IiwidnhhIjoibG9naW4iLCJ2eGkiOjkzMzAwMCwiZXhwIjoxNjAwMzQ5NDAwLCJmIjoic2lwOi5ibGluZG1lbG9uLUFwcE5hbWUtZGV2Lmplcmt5LkB0bGEudml2b3guY29tIn0.5FKsAQz7bRQGGlSZw-KIcCmft7Ic6nT3Ih-TbdYPWwI