Verify ID tokens using a third-party JWT library
- The client send a sign in/up request to firebase auth servers.
- If sign in/up is successful an ID token is return to the client.
- After connecting to SpatialOS, the ID token is sent via command for verification.
- If ID token verification is successful the player avatar data is retreived from database using the user ID from the token payload.
- Avatar is spawned and play can resume.