Pocket ID

Set up Pocket ID on Cottage with a passkey, add users, connect your apps over OpenID Connect and turn on email.

Updated November 24, 2026

$1.50 a month on CottageStart Pocket IDAbout Pocket ID
On this page

Pocket ID is a single sign-on provider that uses passkeys instead of passwords. Apps that support OpenID Connect (OIDC) can send people to Pocket ID to sign in, and you decide who may use which app. It suits anyone running several self-hosted apps for a family or a small team.

Getting started

  1. Decide on your address first. Passkeys and connected apps are tied to Pocket ID's address. If you want it on your own domain, such as id.example.com, add it with Add a web address on the app's page in Cottage and wait until it shows Active before you go further (custom domains).
  2. Create the administrator. Open your app's address with /setup on the end, for example:

https://two-words.cottagehost.com/setup

Enter your name and email, and add a passkey with your phone, computer, password manager or security key. Until you've done this, only you can open the app. 3. Open it to everyone on the app's page in Cottage, so people you share the address with can reach it. 4. Add a second passkey. Open My Account and add another passkey on a different device or password manager, so losing one device doesn't lock you out. 5. Set up email (optional). Pocket ID can email login codes and sign-in alerts. Its mail settings live in the app itself, under Application Configuration → Email. Enter your provider's SMTP server, port (587 or 465; port 25 is blocked on Cottage), username, password and sender address, then use Send test email to check. See sending email for what you need from your provider. 6. Add people. New sign-ups are off. Open Administration → Users and choose Add User for each person. Then open the ⋯ menu next to them, choose Login Code, pick how long it lasts and choose Show Code. Send them the code or link yourself (or use Send Email once mail is set up and Email Login Code from Admin is on). They sign in once with it and add their own passkey. 7. Create groups. Under Administration → User Groups, make groups such as "Family" or "Media". You use them to decide who may sign in to each app. 8. Connect your first app. See the next section.

Frequently asked questions

How do I connect an app?

  1. Find the app's callback URL (also called redirect URI) in its OIDC or SSO documentation.
  2. In Pocket ID, open Administration → OIDC Clients, choose Add OIDC Client, enter a name and the callback URL, and choose Create.
  3. Copy the client secret now: it's only shown once.
  4. On the client's page, choose who may sign in: selected groups, or All Users.
  5. In the other app, enter the client ID, client secret and your Pocket ID address as the issuer. Apps that ask for a discovery URL want:

https://<your Pocket ID address>/.well-known/openid-configuration

Pocket ID's client examples have the exact steps for many apps.

Can people sign up by themselves?

Yes, with a signup link. Under Application Configuration → User Creation, set signups to Signup with token. Then in Administration → Users, open the Add User menu and choose Create Signup Token, set its expiry and how many accounts it may create, and send the link. Avoid Open Signup: anyone who finds the address could make an account.

Someone lost their phone and their passkey. What now?

Create a new Login Code for them in Administration → Users. They sign in once with it and add a new passkey. If they still have a passkey on another device, they can use that instead.

How do I move my data out?

Users, groups and clients live in Pocket ID's database, which Cottage backs up nightly, keeping 14 days of backups. You can download a backup from Backups on the app's page in Cottage (backups). Pocket ID's own export tool needs server access, so ask support if you need that format.

Is Pocket ID updated automatically?

Yes. Cottage installs updates for you; you can follow them under Updates on the app's page in Cottage.

Troubleshooting

I lost my only admin passkey

If another admin exists, ask them for a login code. If not, the code has to be made on the server, so contact support. Afterwards, add a second passkey under My Account.

The setup page is gone

/setup only works until the first administrator exists. Sign in on the normal page with your passkey instead.

Passkeys stopped working after I added a custom domain

Passkeys belong to the address they were created on, and Pocket ID moves to your domain once it's active. Your connected apps also need the new issuer address. Ask another admin for a login code and add new passkeys at the new address, then update the issuer or discovery URL in each app. If nobody can sign in, contact support.

An app says "The redirect_uri is not registered for this client"

The callback URL the app sent doesn't exactly match the one on the client. The error shows the URL it sent; add exactly that under the client's Callback URLs. Apps that think they run on http:// send an http:// URL; fix the app's own public address if you can.

People see "You are not allowed to access this service"

They aren't in any group the client allows. Add them to one of its groups, or allow All Users on the client's page.

Login-code emails don't arrive

Check the settings under Application Configuration → Email and use Send test email. Match the port to the security setting (587 with STARTTLS, 465 with TLS), and make sure your provider allows the sender address. The Technical log under Advanced on the app's page in Cottage shows mail errors. Also check that Email Login Code from Admin is turned on.

Still stuck?

Email support@cottage.host. A person reads every message. If something seems down, check Cottage's status page.