Add Node.js authclient (mirrors the Go shared/backend/authclient)

Lets any Node service validate requests against AuthGuard instead of
maintaining its own local user table - the missing piece needed to
wire AuthGuard into OutdoorGamesPlatform/server-node and any other
Node service, matching what authclient already provides for Go.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Gabriel20xxandClaude Sonnet 5 committed 2026-08-31 22:31:46 +02:00
1 parent 51a8e11ef6
commit 858cc1ac63
3 files changed
+209

No files matched your search

+1
View File
@@ -31,3 +31,4 @@ export {
verifyTotp,
} from './totp.js';
export { runMigrations } from './migrate.js';
export { AuthClient, InvalidSessionError, createAuthClient } from './authclient.js';