- 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)
9 lines
424 B
TypeScript
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
|
|
});
|