NGU-Web/server/src/routes
Zaldimmar d4b39251d9 Add Google sign-in for @nextgenerationofunity.org admin accounts
The login page offers "Sign in with Google" above email and password,
once GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET are set on the service.
It's the server-side authorization-code flow with PKCE; the ID token
comes straight from Google's token endpoint and is checked for
issuer, audience, expiry, a verified email and the Workspace domain
(Google's hd claim).

Only accounts admin-cli has made get in. The first Google sign-in
links the account with the same email; later ones match by the link.
A disabled account, one linked to another Google account, or a
missing account is refused, with a message on the login page, and a
refused sign-in never changes the account. admin-cli list shows which
accounts are linked. Setup is in docs/google-sign-in.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 21:27:12 -05:00
..
admin-entities.js Tidy the admin editor's text: previews, blank options, no em-dashes 2026-09-26 19:38:24 -05:00
admin.js Tidy the admin editor's text: previews, blank options, no em-dashes 2026-09-26 19:38:24 -05:00
auth.js Add Google sign-in for @nextgenerationofunity.org admin accounts 2026-09-27 21:27:12 -05:00
blog.js Add a blog: posts at /blog/:id and a Community page section 2026-09-27 16:27:08 -05:00
content.js Add image uploads with a media library, and event card backgrounds 2026-09-27 15:04:45 -05:00
directory.js Add a blog: posts at /blog/:id and a Community page section 2026-09-27 16:27:08 -05:00
feedback.js v1.3 - added an sqlite db and built data structure 2026-09-25 02:35:46 -05:00
history.js v1.5 - history and timeline as well as many datastructure updates added, polished, fixes 2026-09-25 02:38:51 -05:00
home.js Add a featured event as a hero option 2026-09-27 20:58:37 -05:00
media.js Add a Featured Content section to the front page 2026-09-27 15:56:29 -05:00
pages.js Add per-page search metadata, link previews and a sitemap 2026-09-27 21:21:10 -05:00
panel.js Tidy the admin editor's text: previews, blank options, no em-dashes 2026-09-26 19:38:24 -05:00
people.js Clean up the schema: drop unused tables, rename scopes, publishable awards 2026-09-26 17:09:58 -05:00