Manage users and their groups¶
You need: to be signed in as an admin (a member of virtufin-admins), and an API key
of a Pocket ID admin. Only admins see Config > Users.
Connect Pocket ID (once)¶
- In Pocket ID, open Settings > API keys and create a key. Copy it: Pocket ID shows it only once.
- In the app, open Config > Users.
- Under Identity provider, enter the URL (for example
https://pocket-id.haenerconsulting.com) and paste the API key. - Click Test. You should see Works: N users, M groups.

- Click Save. The key field now shows Set, …abcd. The key stays on the app server and is never shown again.
Add a user¶
- Click Add user….
- Enter a Username and an Email, plus a first and last name if you like, and tick
the Groups. For example,
virtufin-operatorslets the user write,virtufin-userslets them read.
- Click Add. A one-time sign-in link appears.
4. Copy the link and send it to the user. It is valid for 24 hours and works once; with it
the user signs in and registers a passkey.
If the user loses the link, click Link on their row for a new one.
Change a user's groups¶
Click Groups… on the user's row, tick the groups they should have, and click Save.

This replaces all of the user's groups. The user's next sign-in picks up the change: a session lasts until it expires, at most a working day.
Remove a user¶
Click Remove… on the row and confirm. The user is deleted in Pocket ID and can no longer sign in. You cannot remove yourself.
When it does not work¶
| Symptom | Cause and fix |
|---|---|
| No Users entry under Config | You are not in virtufin-admins. Ask an admin, then sign in again. |
| the provider refused the API key (401 …) | The key is wrong, revoked, or not an admin's. Create a new key in Pocket ID. |
| … is not reachable | Wrong URL, or Pocket ID is down. Check the URL in a browser. |
| The identity provider requires an email | Pocket ID's Require user email setting is on: enter an email. |
| the stored API key can no longer be read … | The app got a new session key. Enter the API key again and Save. |
| Username is already in use | Pick another username. |