• fork: OIDC sign-in with group gating (gitea#140, FAR-311)
    fork-tests / verify (pull_request) Successful in 7m0s
    trufflehog / scan (pull_request) Successful in 22s

    Mike Roservices released this 2026-10-25 17:04:40 +00:00 | 3172 commits to local since this release

    "Sign in with " for Authentik, Auth0 or any OIDC provider,
    configured by PAPERCLIP_AUTH_OIDC_PROVIDERS or auth.oidc.providers.
    Unset returns upstream's Better Auth options object untouched.

    • modules/fork-oidc-sign-in: one Better Auth plugin that initialises
      genericOAuth per provider (PKCE, verified ID tokens required) and drops
      a provider whose discovery fails or hangs instead of rejecting the auth
      context; the group gate in user.validateUserInfo on every OAuth
      sign-in, link and user creation (D1); strict email_verified for link
      and create; unverified local users linked only while local sign-up is
      disabled (D2); ID-token sign-in refused for fork providers; a public
      provider list at /api/auth/fork-oidc/providers.
    • Client secret only from an env var or a mounted file; an inline
      clientSecret is a startup error that never echoes the value.
    • ui/features/fork-oidc-sign-in: provider buttons and a fixed-copy
      refusal banner on the sign-in and invite pages.
    • Seams: oidc-sign-in-plugins, oidc-sign-in-export, oidc-sign-in-ui,
      oidc-sign-in-invite-ui.
    • End-to-end tests drive real authorization-code callbacks against an
      in-process OIDC provider on a migrated Postgres.

    Co-Authored-By: Claude Opus 5.5 [email protected]

    Downloads