Support Quest Platform SDK auth with oculusId fallback

When the Data Use Checkup hasn't granted numeric ID access, the SDK
returns oculusId (string username) instead. This makes nonce optional,
skips nonce verification for non-numeric userIds, and uses oculusId as
the metaId when numeric ID is unavailable.
This commit is contained in:
2026-02-24 12:41:54 +01:00
parent 0eab05f15b
commit 7351003c6b
4 changed files with 66 additions and 48 deletions

View File

@@ -1,6 +1,7 @@
// ── Auth ──────────────────────────────────────────────────
export interface MetaCallbackBody {
code: string;
userId: string;
nonce?: string;
deviceInfo?: string;
}