Files
web-alterflixhub/app/server/plugins/auth.ts
T
Bkk1234 92a2adad6a refactor: split repo into docs/ mockup/ app/
- move static mockups from resource/ui to mockup/
- move React app scaffold from resource/ui to app/
- move prome.md + images to docs/
- drop empty resource/jsonfile and resource/
- add root .gitignore
- rewrite README for new layout
- fix paths in mockup/index.html (resource/ui -> mockup, docs/prome.md)
2026-10-27 00:55:32 +07:00

9 lines
424 B
TypeScript

import { createAuthPlugin } from "@agent-native/core/server";
// Email/password auth with optional Google OAuth (enabled automatically when
// GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET are set). No marketing copy — a
// blank app defines its own brand on the login page when it needs one by setting loginHtml in this config.
export default createAuthPlugin({
rootAuth: false, // auth is not serverd on / by default
});