Leo Vasanko
3a4db0cb12
Always load user's theme from API if available, and update the localStorage cache. Previously in various situations the old cached value was being used instead, leading to inconsistent theming or wrong themeselector readout.
2026-02-18 18:35:41 +00:00
Leo Vasanko
5fac0b198e
Make ResetApp Registration layout match the other dialog apps (centered).
2026-02-18 18:01:17 +00:00
Leo Vasanko
5c4f6908cd
Imports to top of file.
2026-02-18 17:47:57 +00:00
Leo Vasanko
13b649a92b
Remove PASKIA_SITE_URL env, use PASKIA_VITE_URL instead, moving the correct site URL determination to paskia CLI directly. This resolves devserver issues where VITE URL was reported as the external site URL instead of configured auth-host or origins. Main CLI still simplified. Bump deps versions and cleanup pyproject.toml.
2026-02-18 17:21:03 +00:00
Leo Vasanko
cbfa68f3dc
Fix HostProfile user properties access.
2026-02-18 03:47:08 +00:00
Leo Vasanko
b8478da693
Bump and synchronize paskia-js version.
2026-02-18 02:45:33 +00:00
LeoVasanko
4604a65646
OAuth2 OpenID Connect provider support, API and DB refactoring ( #3 )
...
Allows Paskia to authenticate the user to a client site.
- User friendly client registration flow on the admin app
- Redirect-based authentication flow (per spec)
- Backchannel logout both ways to keep sessions synchronized
- Groups integrated with Paskia's permission system
- Adds email, preferred username and telephone fields on user profile
- All new user basic info layout to show the new information, better looks
- API and DB structures redesigned
- Various unrelated fixes to theming and layout
2026-02-18 02:40:27 +00:00
Leo Vasanko
ccf2deee95
Add theme toggles that were missing from forward and reset apps.
2026-02-17 18:42:03 +00:00
Leo Vasanko
1b80ff8cd6
Show credential UUID in logging as they are, no prettifying.
2026-02-17 18:32:47 +00:00
Leo Vasanko
148a51fee3
More minimalistic light theme. UI hint for org admin user/role management.
2026-02-14 18:36:20 +00:00
Leo Vasanko
9e13e36b66
Use samesite=strict because we don't need the cookie for page loads.
2026-02-13 20:22:05 +00:00
Leo Vasanko
c621a14b8d
API cleanup, using msgspec structs rather than raw responses. Admin app cleanup, better breadcrumbs.
2026-02-13 20:09:41 +00:00
Leo Vasanko
00514aa86f
Move CLI entry point to main module even though it runs the FastAPI app from a submodule.
2026-02-13 16:26:05 +00:00
Leo Vasanko
f195818f07
Upgrade fastapi-vue-setup 1.0.2
2026-02-11 21:33:21 +00:00
Leo Vasanko
e16c027b53
Remove unused CLI bootstrap entry point.
2026-02-11 20:29:12 +00:00
Leo Vasanko
a9cf518296
Add version indication and link to our site on profile page (bottom right corner).
2026-02-11 01:36:58 +00:00
Leo Vasanko
0af7d4b939
Less eagerly enable very wide layout for user profile (only if more than 8 items for passkeys or per site sessions).
2026-02-11 01:24:23 +00:00
Leo Vasanko
419f69cef5
Style overhaul.
2026-02-11 01:18:19 +00:00
Leo Vasanko
b1731e5abf
Inline get_config, rewrite update_config, DB init Config and rp_id defaults changed.
2026-02-10 23:17:28 +00:00
Leo Vasanko
9332eb63ab
ResetToken.hash(phrase) added avoiding code duplication.
2026-02-10 22:56:49 +00:00
Leo Vasanko
310a4e9a87
Remove remaining DB getter functions, inline at call site and add ResetToken.by_passphrase().
2026-02-10 22:48:31 +00:00
Leo Vasanko
6961a82f3f
Remove unnecessary odd getter from db.operations.
2026-02-10 22:37:57 +00:00
Leo Vasanko
f7d9d03765
Refactor DB lifecycle functions init and cleanup to separate db.lifecycle module.
2026-02-10 22:28:38 +00:00
Leo Vasanko
2f2934db6b
CRUD store and delete on the DB classes directly.
2026-02-10 22:19:02 +00:00
Leo Vasanko
f0d360758c
Db operations: bootstrap separated to its own module.
2026-02-10 22:09:07 +00:00
Leo Vasanko
12715ee405
Use strictly same now timestamp over a transaction, even for UUIDv7s generated.
2026-02-10 21:45:09 +00:00
Leo Vasanko
2105040661
Calculate session expiry times in operations, using a common now timestamp for everything.
2026-02-10 21:35:56 +00:00
Leo Vasanko
4fcfee78c7
Set last seen and increment visits during registration, not only on authentication.
2026-02-10 21:25:20 +00:00
Leo Vasanko
859a76a029
README
2026-02-09 19:22:05 +00:00
Leo Vasanko
441f920736
README
2026-02-09 18:52:53 +00:00
Leo Vasanko
9716b06399
README
2026-02-09 18:46:03 +00:00
Leo Vasanko
abdca4f648
Make config part of bootstrap.
2026-02-09 18:33:29 +00:00
Leo Vasanko
eb2a003f24
Improved CLI logging of DB transactions.
2026-02-09 18:28:24 +00:00
Leo Vasanko
e4efc1c442
Fix save config running before bootstrap for new databases.
2026-02-09 18:07:51 +00:00
Leo Vasanko
a1cb112f50
Cleaner database error handling and fixes.
2026-02-09 17:55:03 +00:00
Leo Vasanko
5962f394b5
Minor fixes to config handling.
2026-02-09 17:37:10 +00:00
Leo Vasanko
215799e6d7
README
2026-02-09 17:18:55 +00:00
Leo Vasanko
b92cc183dd
Storing config on database to simplify reloads by CLI.
2026-02-09 17:00:40 +00:00
Leo Vasanko
9ab5feb4f0
Change database name to (rp-id).paskiadb (previously paskia.jsonl). Validate the rp-id in passkey init.
2026-02-09 16:42:12 +00:00
Leo Vasanko
a5b207b2b6
Upgrade fastapi-vue-setup.
2026-02-09 16:29:24 +00:00
Leo Vasanko
5163a02cb8
README
2026-02-06 01:07:00 +00:00
Leo Vasanko
1cb19dd902
README
2026-02-06 01:00:58 +00:00
Leo Vasanko
5d7fe4e9f3
README
2026-02-06 00:29:16 +00:00
Leo Vasanko
b90fc71589
README
2026-02-06 00:27:01 +00:00
Leo Vasanko
f1d48cec49
README
2026-02-06 00:25:38 +00:00
Leo Vasanko
3d6c82b611
README
2026-02-06 00:23:44 +00:00
Leo Vasanko
eaeb67a881
README
2026-02-06 00:22:03 +00:00
Leo Vasanko
86393e4a26
Docs, screenshot of permissions view.
2026-02-06 00:16:29 +00:00
Leo Vasanko
544f6697e4
Docs
2026-02-06 00:08:27 +00:00
Leo Vasanko
3a276e9941
README
2026-02-05 22:58:42 +00:00