Commit graph

23 commits

Author SHA1 Message Date
Daniel
ec1616c1f5 Improve api logging when handler/endpoint does not exist 2023-10-12 17:11:31 +02:00
Daniel
01c4fc75da Use new microtask function in api module 2022-08-01 11:37:53 +02:00
Patrick Pacher
d30c4f4072
Automatically remove expired API keys from the setting 2022-07-27 15:27:42 +02:00
Patrick Pacher
4c6b834ae5
Add support for API token expiration 2022-07-27 14:59:52 +02:00
Daniel
f59ad0357a Fix tests and linter warnings 2022-02-01 13:12:46 +01:00
Daniel
1695420b0e Fix CORS handling 2021-11-28 23:48:45 +01:00
Daniel
442d9319e7 Fix typo 2021-09-17 22:01:06 +02:00
Daniel
8814d279bd Add api bridge for database 2021-05-11 14:59:33 +02:00
Daniel
89fad3d9ca Use HTTP security headers on all requests 2021-01-28 16:50:57 +01:00
Daniel
afdb367ada Remove unused middlewares and fix linter errors 2021-01-28 16:50:23 +01:00
Daniel
11e8271d41 Add API Key auth and improve endpoints 2021-01-19 15:37:55 +01:00
Daniel
3244fefd43 Implement review suggestions 2021-01-06 13:34:25 +01:00
Daniel
9100dc999b Add endpoint api and authentication layer 2020-12-30 23:49:57 +01:00
Daniel
2fa29789de Improve authenticator error handling
From PR Review https://github.com/safing/portbase/pull/59
2020-07-10 13:21:10 +02:00
Daniel
f4fcd0c67c Add Path to Token Cookie
From PR Review https://github.com/safing/portbase/pull/55
2020-07-10 11:46:59 +02:00
Daniel
34e076f9ff Fix starting the api auth token cleaner task 2020-06-26 22:41:47 +02:00
Daniel
fe7b09c9fb Improve authentication handling, enable auth cookies 2020-06-05 13:04:27 +02:00
Daniel
5136bf91ed Add authentication failure error messages 2020-06-03 23:16:23 +02:00
Daniel
e83e2b216c Fix and improve api authentication error 2020-05-21 15:06:02 +02:00
Daniel
f7ccc58b98 Update rng package import 2019-09-24 15:40:27 +02:00
Daniel
e0535421e4 Clean up API code, use update and new message types for sending subscription events 2019-09-20 10:35:13 +02:00
Daniel
46b151ddfe Improve api auth http error messages 2019-07-31 22:29:39 +02:00
Daniel
8d091f7f7a Update api with registering handlers, middleware and authentication 2019-07-30 13:08:45 +02:00