Sign in with Pocket ID

One passkey identity for your app suite, wired app by app.

What this gives you

Pocket ID is the identity app in the catalog. Deploy it, claim it, add a passkey, and your other apps can hand their sign-in to it.

Six catalog apps consume it today: Forgejo, Kavita, Vaultwarden, ActualBudget, Memos, and Vikunja. Five of them speak OpenID Connect natively. Memos connects through its Custom SSO template with the endpoints entered by hand.

Deploy Pocket ID first

The order matters for two of the six. Vaultwarden and Vikunja read their provider settings from environment inputs that the deploy form collects, so their Pocket ID clients must exist before those apps deploy. An app that is already running is wired by redeploying it with the values. ActualBudget wires after its first open, so its order is loose (see its section below). Forgejo, Kavita, and Memos are configured inside the app after deploy, so their order is loose.

Keep the Pocket ID instance public. An app's server fetches tokens from Pocket ID directly, so the issuer URL has to work from the app's container and not only in your browser.

Keep Pocket ID awake

Run the identity instance always-on. Pick its size on the deploy form as usual, then turn on Always-on on the instance page after deploy. Always-on is not a plan tier. The instance simply never sleeps, and it never stops accruing its running rate.

Here is what sleeping does instead. A browser that opens the URL sees a waking page while the instance comes up. Your apps' servers get an error with a retry hint, so the first sign-in after a wake can fail. Already-signed-in sessions keep working. New sign-ins fail while the identity sleeps, and every app that points at it fails with them.

The automatic way (when your org runs Pocket ID)

If the Pocket ID and the app are both in your FluxVale organization, the deploy form offers "Sign in with your Pocket ID" on the configuration step for Vaultwarden and Vikunja. Tick it and FluxVale creates the Pocket ID client and configures the app at deploy, no copy-paste of IDs. ActualBudget wires after its first open instead. Deploy it, open it once and set the server password, then the Pocket ID sign-in card on its instance page connects it (its own section below has the flow). Vaultwarden and Vikunja deployed before the Pocket ID get the same offer on their instance page (Connect), with Rotate secret and Disconnect beside it.

The prerequisite: your organization's OWNER opens the Pocket ID's instance page and pastes a Pocket ID admin API key into the "Sign-in with Pocket ID" card there (in Pocket ID: Settings → API keys). The key is stored cluster-side and never shown again, and the owner can replace or revoke it at any time.

The automatic path currently covers Vaultwarden, Vikunja, and ActualBudget, and more apps join by catalog declaration. The per-app sections below cover all six: five stay manual, and ActualBudget's section walks its automatic flow.

Create one client per app

This manual path covers the apps the automatic way does not. If your app is Vaultwarden, Vikunja, or ActualBudget and your org runs Pocket ID, use the automatic way above. In Pocket ID open Administration, then OIDC Clients, then Add OIDC Client. Name the client after the app and add its callback URL. The callback URL is your app's instance URL plus the path from this table.

Forgejo /user/oauth2/PocketID/callback
Kavita /signin-oidc
Vaultwarden /identity/connect/oidc-signin
ActualBudget /openid/callback
Memos /auth/callback
Vikunja /auth/openid/pocketid

Choose who may sign in under Allowed User Groups, or pick All Users. The client's page shows the client ID, the client secret, and the discovery URL. The secret is shown once, so copy it when you create the client. Turn PKCE on for the Vaultwarden, Kavita, and ActualBudget clients. Leave it off for the Vikunja client.

Wire Forgejo

In Forgejo open Site Administration, then Identity & Access, then Authentication Sources. Add a source of type OAuth2 with the OpenID Connect provider. Name it PocketID, because the name is part of the callback path. Paste the discovery URL, the client ID, and the client secret from Pocket ID. Set the additional scopes to openid email profile.

Wire Kavita

In Kavita open Settings, then Server, then OpenID Connect. Enter the Pocket ID URL as the Authority with no trailing slash, plus the client ID and the client secret. For the Kavita client in Pocket ID, turn on PKCE. Save and restart Kavita for the settings to take effect. In Pocket ID you can also add /signout-callback-oidc as the client's logout callback. If you sync roles from a claim, the new roles apply after a full sign-out and sign-in.

Wire Vaultwarden

Set the four inputs on the deploy form: enable Pocket ID sign-in, the issuer URL, the client ID, and the client secret. The issuer URL is your Pocket ID instance's public URL, exactly. Vaultwarden uses PKCE by default, which matches the client you created with PKCE on.

Two honest notes. The master password still unlocks the vault. SSO only gates the front door. And keep a second passkey for Pocket ID somewhere outside Vaultwarden, because a passkey that lives only inside the vault locks the identity behind the vault.

Wire ActualBudget

Open ActualBudget once and set its server password. That first open claims the instance, and the wiring refuses until it is done. With your org's Pocket ID, the app's instance page then offers the Pocket ID sign-in card. Connect there. The platform creates the Pocket ID client and configures the app. Your server password keeps working, and the first Pocket ID sign-in creates an admin account.

The client needs no manual setup. If you create it by hand anyway, its callback is the instance URL plus /openid/callback and PKCE is on. Household members get accounts on their first sign-in if you set the creation mode input to login. Otherwise pre-create them in Actual's Users screen with matching usernames.

Wire Memos

In Memos open Settings, then SSO, then Create. Pick the Custom template. Memos reads no discovery URL, so paste the authorization, token, and userinfo endpoints from the client's page in Pocket ID. Show more details lists them. Set the identifier to preferred_username, the display name to name, and the email field to email. Set the scopes to openid email profile.

Keep one admin password login as your recovery path, even after you disable passwords for regular users. Memos never links an SSO identity to an existing account by username.

Wire Vikunja

Set the five Pocket ID inputs on the deploy form: enable Pocket ID sign-in, the issuer URL, the client ID, the client secret, and the provider display name if you want a different label. The issuer URL is your Pocket ID instance's public URL with no trailing slash. It must match exactly, because Vikunja fetches its discovery document from that address.

Vikunja sends no PKCE challenge, so the client you created with PKCE off is the matching shape. The callback path stays /auth/openid/pocketid whatever the display name says, because the path comes from the settings the platform fills, not the label. Username and password sign-in keeps working alongside Pocket ID.

If Pocket ID goes down or away

Connected apps degrade. They do not die. Already-signed-in sessions persist. New sign-ins fail while the issuer is unreachable and come back when it is reachable again.

Destroying the Pocket ID instance is the permanent case. A destroy deletes the instance and its data for good. The identities it holds are lost with it, unless you can restore from a backup you own. A restore needs the backup password and the encryption key you chose at deploy, so save both somewhere safe today. Restoring into a new instance is manual work today.

Keep one local way in per app. Forgejo and Memos keep their local logins. Kavita's recovery is documented upstream. Remove the OIDC block and password login returns. Vaultwarden always keeps the master password. Wired after its first open, ActualBudget keeps the server password unless you enforced OpenID. Vikunja keeps username and password sign-in. The platform's own sign-in never depends on Pocket ID.