Christian
|
cb6e70693d
|
Update packages/core/admin/server/strategies/api-token.js
Co-authored-by: Ben Irvin <ben@innerdvations.com>
|
2023-04-19 16:46:46 +02:00 |
|
Christian Capeans
|
0acb4ab3aa
|
Change event name
|
2023-04-19 16:44:00 +02:00 |
|
Christian Capeans
|
aac196bdfe
|
Fix failing test
|
2023-04-19 14:13:45 +02:00 |
|
Christian Capeans
|
0740be570f
|
Add didCompleteRequest event
|
2023-04-19 12:54:10 +02:00 |
|
Alexandre Bodin
|
dee0e195c1
|
Fix invalid require using internal paths
|
2023-03-02 22:16:29 +01:00 |
|
Convly
|
9e4436b15a
|
Add a verify util to the transfer runner handler
|
2023-02-08 10:46:16 +01:00 |
|
Convly
|
386579ff66
|
Update transfer services, fix api tests
|
2023-02-06 10:03:08 +01:00 |
|
Convly
|
17bad93089
|
Create an auth strategy for data-transfer
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Ben Irvin <innerdvations@users.noreply.github.com>
Co-authored-by: Simone <simone.taeggi@strapi.io>
|
2023-02-02 17:03:41 +01:00 |
|
Ben Irvin
|
cece5af2db
|
fix comment
|
2022-10-03 12:56:31 +02:00 |
|
Ben Irvin
|
7039822740
|
update timestamp more efficiently
|
2022-10-03 12:54:19 +02:00 |
|
Convly
|
29cea1d7cb
|
null guard for expiration checks
|
2022-08-25 16:56:50 +02:00 |
|
Convly
|
d834bf6f48
|
Fix tests
|
2022-08-25 16:27:18 +02:00 |
|
Convly
|
87520328bd
|
Fix expiration date checks on api token strategy
|
2022-08-25 15:44:10 +02:00 |
|
Ben Irvin
|
2359ca1cc6
|
fix tests
|
2022-08-24 18:05:36 +02:00 |
|
Ben Irvin
|
58a152ff2e
|
token counts as expired when zero
|
2022-08-24 10:55:28 +02:00 |
|
Ben Irvin
|
93f6ca30ef
|
typo
|
2022-08-24 10:54:34 +02:00 |
|
Ben Irvin
|
73345efa54
|
add tests for expiry
|
2022-08-24 10:48:24 +02:00 |
|
Ben Irvin
|
412f21e973
|
token doesn't authorize when expired
|
2022-08-24 10:32:24 +02:00 |
|
Ben Irvin
|
0918729d21
|
Merge branch 'features/api-token-v2' into api-token-v2/backend-expirations
|
2022-08-22 17:54:33 +02:00 |
|
Ben Irvin
|
6de74793df
|
add test todos
|
2022-08-22 09:26:20 +02:00 |
|
Ben Irvin
|
55dee1a09d
|
verify expiration of token
|
2022-08-22 09:25:55 +02:00 |
|
Ben Irvin
|
e3961fb298
|
rename lastUsed to lastUsedAt
|
2022-08-19 16:36:28 +02:00 |
|
Ben Irvin
|
f30f25ecbe
|
lint
|
2022-08-18 14:52:16 +02:00 |
|
Ben Irvin
|
b2b1432322
|
Merge branch 'features/api-token-v2' into api-token-v2/permissions-for-api-token
|
2022-08-18 12:20:45 +02:00 |
|
Bassel Kanso
|
baad6fd93f
|
Merge branch 'main' into features/api-token-v2
|
2022-08-18 12:18:09 +03:00 |
|
Ben Irvin
|
449f982781
|
Merge branch 'api-token-v2/permissions-for-api-token' into api-token-v2/access-times-backend
|
2022-08-18 10:55:11 +02:00 |
|
Ben Irvin
|
215735b0cd
|
update lastUsed when token is accessed
|
2022-08-17 23:28:35 +02:00 |
|
Ben Irvin
|
1436345e78
|
remove console.log
|
2022-08-17 10:10:28 +02:00 |
|
Ben Irvin
|
dbddec6c62
|
fix permission mapping
|
2022-08-16 10:11:32 +02:00 |
|
Ben Irvin
|
e4d1f59b34
|
reorganize logic
|
2022-08-11 12:18:53 +02:00 |
|
Ben Irvin
|
22c82a7258
|
add custom auth tests
|
2022-08-11 12:17:27 +02:00 |
|
Alexandre Bodin
|
cf49ddbbfc
|
Prettier and backend fix
|
2022-08-11 10:20:49 +02:00 |
|
Convly
|
3a9709bdbf
|
Attach permission model to tokens, update api token' strategy & services
|
2022-08-05 12:01:36 +02:00 |
|
Convly
|
4ebc128ffb
|
Make users-permissions auth strategy use the content API permission engine
|
2022-07-29 10:17:06 +02:00 |
|
Pierre Noël
|
da9b064536
|
add session middleware + remove authentication using url param access_token
|
2022-01-19 17:10:41 +01:00 |
|
harimkims
|
a926999b29
|
Fix relations are not populated if API key is read-only
Signed-off-by: harimkims <harimkims@gmail.com>
|
2021-12-21 22:37:43 +09:00 |
|
Alexandre Bodin
|
113bea8e7f
|
Support query access_token
|
2021-11-16 09:25:55 +01:00 |
|
Pierre Noël
|
b4c9ad0440
|
refacto graphql errors
|
2021-11-04 11:42:43 +01:00 |
|
Alexandre Bodin
|
cc52a93a47
|
Use array checks in api-token aut strategy
|
2021-10-11 12:29:38 +02:00 |
|
Dieter Stinglhamber
|
b9b98c620c
|
improve scope matching and verification failures
|
2021-09-24 12:07:00 +02:00 |
|
Dieter Sting
|
0db6950d9d
|
fix typo
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
|
2021-09-24 12:07:00 +02:00 |
|
Dieter Stinglhamber
|
4b6704d2ae
|
fix unit tests
|
2021-09-24 12:07:00 +02:00 |
|
Dieter Stinglhamber
|
1a72747672
|
add api-token auth strategy to the content-api
|
2021-09-24 12:06:56 +02:00 |
|