Commit graph

26 commits

Author SHA1 Message Date
Krzysztof Wolski
e1dc4c0344 Test withAuthTokenRequired 2022-08-25 17:29:32 +02:00
Krzysztof Wolski
0882c7e408 Test withSaleorEventMatch 2022-08-25 17:22:53 +02:00
Krzysztof Wolski
d90abdceac Test withSaleorDomainPresent 2022-08-25 17:10:49 +02:00
Krzysztof Wolski
158a40203e Split middleware into separate files 2022-08-25 16:56:51 +02:00
Krzysztof Wolski
43f81f1af6 Introduce APL interface 2022-08-25 16:49:54 +02:00
Lukasz Ostrowski
c15caef702 Adds middleware test 2022-08-08 17:10:42 +02:00
Lukasz Ostrowski
cba596c910 Add test for urls 2022-08-08 16:55:57 +02:00
Krzysztof Wolski
9a76281d22 Unify error message for the middleware 2022-08-08 11:01:02 +02:00
Krzysztof Wolski
3d4c513be9 Handle missing webhook signature header 2022-08-08 10:43:26 +02:00
Krzysztof Wolski
fe2921dcdc Migrate to Jose and better error messages 2022-08-04 18:37:31 +02:00
Krzysztof Wolski
e203803505 Add saleor headers util 2022-08-04 18:36:59 +02:00
Krzysztof Wolski
345238e9ee Add withJWTVerified middleware 2022-08-03 20:51:37 +02:00
Krzysztof Wolski
6972dbd562
Merge pull request #9 from saleor/add-linting
Add code formatting, git hooks and improved CI
2022-07-25 09:29:58 +02:00
Krzysztof Wolski
6540dc8001 Apply code formatting 2022-07-20 16:19:49 +02:00
Krzysztof Wolski
bd41853696 Remove unused variable 2022-07-20 16:05:00 +02:00
Krzysztof Wolski
b3008c6a5a Rename variables to camelCase 2022-07-20 16:04:38 +02:00
Jonatan Witoszek
0d93b14e16
Replace string type with generic in withSaleorEventMatch middleware 2022-07-14 16:30:04 +02:00
Jonatan Witoszek
8e1e100a02
Fix unhandled exception when JWS is malformed 2022-07-14 14:04:27 +02:00
Tomasz Magulski
0e1eb8f1e1 Fixing JWKS remove key resolving logic 2022-07-07 13:17:19 +02:00
Tomasz Magulski
cc13260ef6 Webhooks signature verification middleware 2022-07-06 16:05:36 +02:00
Tomasz Magulski
8cf9aab987 Infer webhooks should use webhooks path relative to manifest API route 2022-05-27 15:17:13 +02:00
Tomasz Magulski
bddf64e32c Infer webhooks in production build 2022-05-27 13:10:12 +02:00
Zaiste
3303d56e46
Fix the path for printer from graphql 2022-05-26 22:50:51 +02:00
Zaiste
1951559886
Distinguish between sync/async events for webhooks 2022-05-26 22:41:21 +02:00
Zaiste
9da7c92642
Add Saleor specific middlewares 2022-05-26 14:14:13 +02:00
Zaiste
3f4fdb5f57
initial commit 2022-05-24 22:16:49 +02:00