at least we are in the dorm now

This commit is contained in:
Devin Zuczek
2026-06-14 21:32:37 -04:00
parent 768ca2a0a3
commit 2f70eab186
14 changed files with 310 additions and 28 deletions
+4
View File
@@ -58,6 +58,10 @@ const app = new Hono<App>()
])
})
// Bulk cached-login lookup by platform id (friends resolution). The client
// POSTs repeated `id=` params on the auth host; no DB → no matches → [].
.post('/cachedlogin/forplatformids', (c) => c.json([]))
// OAuth token endpoint — accepts a form-urlencoded body and issues a JWT.
.post('/connect/token', async (c) => {
// The C# reads `grant_type`, `account_id`, `platform_id` and `platform` from