Add API tokens support #9

Merged
pierre merged 40 commits from api into master 2024-04-23 17:04:45 +00:00
Owner

Make it possible to create token authorized to query predetermined set of routes.

Make it possible to create token authorized to query predetermined set of routes.
pierre added 2 commits 2024-04-08 20:46:48 +00:00
WIP
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
0217d1c53d
pierre added 1 commit 2024-04-09 16:04:08 +00:00
Add more test to validate JWTs
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
bab34b7c7f
pierre added 3 commits 2024-04-09 17:05:24 +00:00
Can get a single API token
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
0c5a232a25
pierre added 1 commit 2024-04-09 17:06:22 +00:00
Merge branch 'master' into api
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
e938b5a423
pierre added 1 commit 2024-04-09 17:39:52 +00:00
Can update and delete API tokens
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
0ee2c41f3c
pierre added 1 commit 2024-04-09 17:41:39 +00:00
Forgot to save new tokens...
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
418055a640
pierre added 1 commit 2024-04-09 19:49:35 +00:00
Start to implement API tokens checks
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
fd3df3d214
pierre added 1 commit 2024-04-09 19:53:15 +00:00
Give more appropriate name to define authorized route for API token
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
631cc96537
pierre added 1 commit 2024-04-10 16:47:34 +00:00
Merge branch 'master' into api
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
23fc10bb60
pierre added 1 commit 2024-04-10 19:03:15 +00:00
Create a basic API client
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
b1937d42a2
pierre added 2 commits 2024-04-10 19:25:04 +00:00
Can block token unauthorized to access a specific route
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
d5eee04d7a
pierre added 1 commit 2024-04-10 19:36:42 +00:00
Enforce IP restriction
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
cbef5f2a78
pierre added 1 commit 2024-04-17 19:23:17 +00:00
Merge branch 'master' into api
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
1d12d5c9be
pierre added 1 commit 2024-04-17 19:42:05 +00:00
Add path globbing
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
f03b631b6c
pierre added 1 commit 2024-04-17 20:20:09 +00:00
List the tokens from the WebUI
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
91127ea61f
pierre added 1 commit 2024-04-17 20:22:28 +00:00
Attempt to fix dependency conflict
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
6ebff3ac0c
pierre added 1 commit 2024-04-18 17:38:34 +00:00
Start to build routes to create, view and edit API token
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
84e293bddb
pierre added 1 commit 2024-04-18 17:39:47 +00:00
Fix API tokens routes
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
3f64cd3259
pierre added 1 commit 2024-04-18 20:44:42 +00:00
Show private key after API key creation
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
5e134ffba6
pierre added 1 commit 2024-04-18 20:45:37 +00:00
Fix error
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
89b9f7c292
pierre added 1 commit 2024-04-19 16:52:37 +00:00
Can configure maximum inactivity of token
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
ec25b6e4f1
pierre added 1 commit 2024-04-19 20:42:10 +00:00
Add raw API token rights editor
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
c7f72882a7
pierre added 1 commit 2024-04-20 07:46:33 +00:00
Add basic token rights editor
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
e68569b9b4
pierre added 1 commit 2024-04-20 08:57:17 +00:00
Can set VM rights for API tokens
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
continuous-integration/drone/push Build is passing
c0b50c75fd
pierre added 1 commit 2024-04-20 09:17:56 +00:00
Networks management
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
continuous-integration/drone/push Build is passing
f404018392
pierre added 1 commit 2024-04-20 09:28:17 +00:00
Add network filter management
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
43382991eb
pierre added 1 commit 2024-04-20 09:35:33 +00:00
Add API tokens management
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
ff35da5639
pierre added 1 commit 2024-04-20 09:38:51 +00:00
Rename /api/tokens -> /api/token
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
f1b700f832
pierre added 1 commit 2024-04-20 09:43:54 +00:00
Merge branch 'master' into api
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
c81df0e6f7
pierre added 1 commit 2024-04-20 09:57:26 +00:00
Remove "None" variant for JWT public key
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
9432b3a8fd
pierre added 1 commit 2024-04-20 11:33:41 +00:00
Use basic-jwt crate to sign / validate JWT
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
23e0b33b43
pierre added 1 commit 2024-04-20 11:56:14 +00:00
Upgrade basic-jwt to version 0.2.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
865494572f
pierre added 1 commit 2024-04-23 16:22:51 +00:00
Make expired tokens more visibles
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
592466bcc8
pierre added 1 commit 2024-04-23 16:51:09 +00:00
Minor fixes
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
d60064fbaa
pierre added 1 commit 2024-04-23 16:52:59 +00:00
Improve comment
Some checks reported errors
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build was killed
8fc03d43bc
pierre added 1 commit 2024-04-23 16:54:01 +00:00
Fix constant name
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build is passing
f28f9dbc5a
pierre changed title from WIP: Add API tokens support to Add API tokens support 2024-04-23 17:04:21 +00:00
pierre merged commit c7de64cc02 into master 2024-04-23 17:04:45 +00:00
pierre deleted branch api 2024-04-23 17:04:45 +00:00
pierre referenced this issue from a commit 2024-04-23 17:04:47 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pierre/VirtWeb#9
No description provided.