middleman: Replace nginx-sso with Pocket ID SSO
Gate the vhosts without their own sign-in with oauth2-proxy, which signs in with Pocket ID and allows members of the `admins` group. Each gated vhost serves its own `/oauth2/` endpoints with a host-only session cookie, so other `.nul.ie` sites never receive it. Sessions last a week, and a refresh token lets oauth2-proxy check back with Pocket ID every hour without a passkey. Add `my.pocket-id`, which declares Pocket ID groups and OIDC clients in Nix; `pocket-id-sync` applies them through the API with a static API key that nginx keeps from outside requests. This lets apps move to Pocket ID with their client defined next to them, with secrets from `slop secret generate`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit was merged in pull request #12.
This commit is contained in:
1 parent
a3950b9bb3
commit
eeb1f2d15c
14 files changed
+514
-325
No files matched your search
@@ -48,7 +48,7 @@ their current addresses. Each container has its own page:
|
||||
|
||||
| Container | Role |
|
||||
|---|---|
|
||||
| [`middleman`](containers/middleman.md) | Reverse proxy, ACME, nginx-sso, librespeed, Paseo relay |
|
||||
| [`middleman`](containers/middleman.md) | Reverse proxy, ACME, Pocket ID and SSO, librespeed, Paseo relay |
|
||||
| [`vaultwarden`](containers/vaultwarden.md) | Password manager |
|
||||
| [`colony-psql`](containers/colony-psql.md) | Shared PostgreSQL (14) |
|
||||
| [`chatterbox`](containers/chatterbox.md) | Matrix Synapse + bridges |
|
||||
|
||||
Reference in new issue
Block a user