Commit Graph

88 Commits

Author SHA1 Message Date
renovate[bot] 64f7e7c8be Update module github.com/golang-migrate/migrate/v4 to v4.18.3 (#827)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 10:42:08 +02:00
renovate[bot] ab49263b0c Update module github.com/lestrrat-go/jwx/v3 to v3.0.2 (#979)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 09:06:50 +02:00
Zoe Roux af97c52e48 Fix auth tests 2025-06-07 17:45:39 +02:00
Zoe Roux 4828fa08cf Use docker-compose watch mode for auth 2025-06-07 17:45:39 +02:00
Zoe Roux 7857b14a14 Hardcode keibi's prefix to /auth 2025-06-07 17:45:39 +02:00
Zoe Roux 19f346ffb6 Add kid in jwks & jwts 2025-06-07 17:45:38 +02:00
Zoe Roux 9f330f6683 Init fastapi 2025-06-07 17:45:37 +02:00
Zoe Roux 943d2ac10b Split shell.nix into project specific ones 2025-06-07 17:45:37 +02:00
renovate[bot] 7455e79f61 Update module github.com/jackc/pgx/v5 to v5.7.5 (#964)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-26 10:25:12 +02:00
renovate[bot] 1b3f6d41ba Update dependency go to v1.24.3 (#949)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-12 09:33:59 +02:00
renovate[bot] ebec864187 Update module github.com/lestrrat-go/jwx/v3 to v3.0.1 2025-05-05 04:24:25 +02:00
Zoe Roux 1fca8957a2 Fix auth default PGHOST 2025-05-04 15:35:37 +02:00
solidDoWant 5ced62aab3 Support standard libpq environment variables for Auth service (#901) 2025-04-24 09:38:20 +02:00
renovate[bot] f2caf1a975 fix(deps): update module github.com/lestrrat-go/jwx to v3 (#880)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Zoe Roux <zoe.roux@zoriya.dev>
2025-04-23 21:50:26 +00:00
Zoe Roux fb908c95ef Fix hurl test 2025-04-23 23:04:28 +02:00
Zoe Roux 667249bc81 Add CreatedBy value in apikeys 2025-04-23 22:45:39 +02:00
Zoe Roux dcbbb6352a Add hurl tests for apikeys 2025-04-23 22:35:52 +02:00
Zoe Roux e8acb31834 Allow env to specify apikeys 2025-04-23 19:41:42 +02:00
Zoe Roux a72ecdb21b Add apikey support to /jwt 2025-04-23 19:41:42 +02:00
Zoe Roux 85186a74c8 Add apikeys routes 2025-04-23 19:41:42 +02:00
Zoe Roux 822a7029ef wip: Add api keys apis 2025-04-23 19:41:42 +02:00
Zoe Roux 3f5af4b7fa Fix FIRST_USER_CLAIMS 2025-04-07 12:40:11 +02:00
Zoe Roux 18eb1b02a3 Add /users/:username in keibi 2025-04-07 12:40:11 +02:00
renovate[bot] d7dc92a8ca chore(deps): update dependency go to v1.24.2 2025-04-07 08:46:48 +00:00
Zoe Roux 5a6e29e57a Fix guess's sub/sid format 2025-04-06 19:52:54 +02:00
Zoe Roux 29704e2f26 Fix edit settings test 2025-04-06 14:36:03 +02:00
Zoe Roux 8110f7de66 Add tests for edit settings & password 2025-04-06 14:24:03 +02:00
Zoe Roux 31d545530b Add edit password 2025-04-05 23:49:53 +02:00
Zoe Roux dbe8e319c8 Add edit user/settings route 2025-04-05 23:49:53 +02:00
Zoe Roux d4fbba8aeb Revert labstack/echo-jwt#13 2025-04-05 00:46:30 +02:00
Zoe Roux d88160218b Fix tests 2025-04-05 00:46:22 +02:00
Zoe Roux 6d8697cd9d Convert robot tests to hurl 2025-04-05 00:28:24 +02:00
Zoe Roux c5a676b2a5 Add guest handling 2025-04-05 00:28:24 +02:00
Zoe Roux 431055ec49 Add custom claims for first user 2025-04-05 00:28:24 +02:00
Zoe Roux 8ef4fe5e55 Remove db conf handling and read private key from storage 2025-04-04 22:44:44 +02:00
Zoe Roux 92753b72d3 Add a middleware in keibi to convert session token to jwt 2025-04-04 22:44:44 +02:00
Zoe Roux 411f6dcfba Use pages for users paginations 2025-04-04 22:44:44 +02:00
Zoe Roux 076d5a0dbd Use KError instead of problem details (like the api) 2025-04-04 22:44:44 +02:00
Zoe Roux b81c94f2da Cleanup doc of users routes 2025-04-04 22:44:44 +02:00
Zoe Roux f53e71afff Add doc for session routes 2025-04-04 22:44:44 +02:00
Zoe Roux 8fe50ad00b Add examples for jwt routes of keibi 2025-04-04 22:44:44 +02:00
Zoe Roux 65a7f62fd1 Validate issuer & allow unlogged routes 2025-04-04 22:44:44 +02:00
Zoe Roux 0e81c11f75 Use echo-jwt 4.2 to prevent breaking change 2025-03-25 10:53:27 +01:00
Zoe Roux bcded031e2 Use jwks in elysia 2025-03-25 10:27:03 +01:00
Zoe Roux 161e4943a1 Add openid-configuration just for jwks_uri (for jwt.io) 2025-03-25 10:27:03 +01:00
Zoe Roux 9dc1087273 Use 30s interval healthchecks 2025-03-25 10:27:03 +01:00
Zoe Roux 6391a99bb9 Switch to jwks instead of custom /info 2025-03-25 10:27:03 +01:00
Zoe Roux 825619b11d Make /jwt return an Authorization header for traefik 2025-03-25 10:27:03 +01:00
Zoe Roux 7ec940a8dc Add healthchecks for auth 2025-03-25 10:27:03 +01:00
Zoe Roux b94a6a652e Push generated files in auth to make tools happy 2025-03-25 10:27:03 +01:00