https://gitlab.synchro.net/main/sbbs/-/commit/e339f32d87b2b3025478c875
Added Files:
exec/load/finger_options.js web/root/oauth/client-registration.ssjs web/root/oauth/install/oidc-admin.js test-provider.js test-webfinger.js webfinger.ssjs web/root/oauth/logout.ssjs provider.js register.ssjs request.js userinfo.ssjs
Modified Files:
ctrl/modopts.ini exec/fingerservice.js web/root/oauth/auth.ssjs web/root/oauth/install/README openid-configuration.ssjs rewrite_lib.js webctrl.ini web/root/oauth/jwks.ssjs token.ssjs webctrl.ini
Log Message:
Add OIDC sign-in with WebFinger discovery and dynamic registration
Let users enter their BBS address at a participating site and sign in.
A new site can discover the issuer through WebFinger and register its
HTTPS callbacks without a BBS account or initial access token. Show the callback and requested identity fields for user approval. Keep the
subject stable so the site recognizes returning users across alias changes.
Replace the implicit flow with single-use authorization codes, S256 PKCE
and RS256 ID tokens. Support BBS password and webv4 sign-in, with hooks
for the browser session proposed in #1398.
Let members register apps, rotate secrets and deregister them. Keep
member registrations in numbered SQLite files cleared on account-slot
reuse. Store dynamic clients in the provider database and rate-limit new registrations. Sysops can manage these clients and register their own
with an ARS. Removing a client revokes its codes and access tokens.
Share profile visibility settings between Finger and WebFinger, with
optional public profile and plan links. Document setup and GitLab
integration. Keep provider and WebFinger regression tests under install/.
Refs #1425.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net