15 Commits

Author SHA1 Message Date
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
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
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
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
1a72747672 add api-token auth strategy to the content-api 2021-09-24 12:06:56 +02:00