Leo Vasanko
8f935a24f0
Fix auth-host being added to origins even when no origins were wanted.
2026-02-19 01:00:13 +00:00
Leo Vasanko
59c2e8f82b
Fix request header removal that was causing zstd compressed response when we wanted plain text.
2026-02-19 00:51:11 +00:00
Leo Vasanko
bb2f35b0a7
Cleaned Org Admin styling.
2026-02-19 00:37:44 +00:00
Leo Vasanko
1f20175e6a
Migrations cleanup by using a MigrationCtx object for meta.
2026-02-19 00:08:38 +00:00
Leo Vasanko
03f0dd14f0
Implement database file locking for extra safety.
2026-02-19 00:01:49 +00:00
Leo Vasanko
43116e98c0
Implement read-only database load at startup for CLI to get its settings. Full opening only when server has started.
2026-02-18 23:46:18 +00:00
Leo Vasanko
f08fd5d207
Add missing new file.
2026-02-18 23:45:22 +00:00
Leo Vasanko
8f24f267c8
Faster and simplified hash_secret() that directly produces urlsafe entries.
2026-02-18 23:02:36 +00:00
Leo Vasanko
228a103d73
Fix static asset serving in devserver mode.
2026-02-18 22:19:18 +00:00
Leo Vasanko
110ba74d28
Fix E2E tests
2026-02-18 22:18:31 +00:00
Leo Vasanko
ceed798834
Simplified My Profile authentication flows, fixed some UX issues with reauth cancelled/accepted leading to incorrect states.
2026-02-18 19:04:02 +00:00
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