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
- API token: skip login and use `x-api-token` directly.
147
147
2. Get your instance info (for `webrtcAddress`): `GET /v1/instances/<INSTANCE_UUID>` using your chosen header.
148
148
3. Generate the per-instance access token: `POST /v1/instances/access-token` with body `{"instance_uuid":"<INSTANCE_UUID>"}` using the same header.
149
149
4. Use the returned `access_token` as `options.token` when calling `setupRenderer`.
150
150
151
151
Notes:
152
-
- SaaS JWTs expire (e.g., ~48h). Regenerate by re-login when needed.
152
+
- SaaS JWTs expire after a while (e.g., ~48h). Regenerate by re-login when needed.
153
153
- The `access_token` is scoped to a single instance and may expire; if you receive a token invalid/expired error, call the access-token endpoint again and reconnect.
154
-
- For PaaS, `options.token` is the instance ID provided by your device provider. No SaaS API calls are required.
154
+
- For Genymotion Device Image, `options.token` is the instance ID provided by your cloud provider. No SaaS API calls are required.
0 commit comments