#ts-http-cookie-auth
Minimal TypeScript Telepact example that shows Telepact's recommended browser auth flow:
define a session credential in
union.Auth_read the browser cookie at the HTTP boundary
translate it into
@auth_normalize it in
on_auth
Browse the files:
api/auth.telepact.yaml- Telepact schemaserver.ts- server implementationtest_example.ts- example testtest_support.ts- test helpersMakefile- local run target
Run it:
make run