Logo
Explore Help
Sign In
vincent/gerbeur
1
0
Fork 0
You've already forked gerbeur
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
71df0268e3febad6e2c901dc16b66831568eb762
gerbeur/vite.config.ts
khannurien f1bc23a65e v4: an instance can be named by the address of its pages — sign-in and the trust list took only an instance's issuer, its API's origin, so where the pages live elsewhere the address people see in their browser named no instance: in development, localhost:3000 answered its /.well-known with index.html, and the sign-in failed as "doesn't answer as a gerbeur". resolveIssuer (remote/gerbeur-instance.ts) now reads the metadata at the address given and, when it names another issuer, takes it only if that issuer's own metadata names those pages back as where its /authorize is, so an impostor can't claim one; sign-in, the trust list and the check against this instance go through it. The Vite dev server passes /.well-known on to its API, as whatever serves the pages must in production (README). A handle still carries the API's host.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 22:14:21 +00:00

6.7 KiB
Raw Blame History

View Raw
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 26ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API