Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip add auth middleware #433

Merged
merged 1 commit into from
Mar 13, 2024
Merged

wip add auth middleware #433

merged 1 commit into from
Mar 13, 2024

Conversation

hichri-louay
Copy link
Contributor

No description provided.

@hichri-louay hichri-louay merged commit f789d47 into develop Mar 13, 2024
1 check passed
@hichri-louay hichri-louay deleted the add-auth-middleware branch March 13, 2024 11:51
@@ -163,9 +163,9 @@

router.post('/apply', verifyAuthExternal, externalApply)

router.post('/checkHarvest', verifySignatureMiddleware, checkHarvest)
router.post('/checkHarvest', verifyAuthExternal, checkHarvest)

Check failure

Code scanning / CodeQL

Missing rate limiting High

This route handler performs
authorization
, but is not rate-limited.
@@ -163,9 +163,9 @@

router.post('/apply', verifyAuthExternal, externalApply)

router.post('/checkHarvest', verifySignatureMiddleware, checkHarvest)
router.post('/checkHarvest', verifyAuthExternal, checkHarvest)

Check failure

Code scanning / CodeQL

Missing rate limiting High

This route handler performs
a database access
, but is not rate-limited.

router.post('/externalAnswer', verifySignatureMiddleware, externalAnswer)
router.post('/externalGains', verifySignatureMiddleware, externalGains)
router.post('/externalAnswer', verifyAuthExternal, externalAnswer)

Check failure

Code scanning / CodeQL

Missing rate limiting High

This route handler performs
authorization
, but is not rate-limited.

router.post('/externalAnswer', verifySignatureMiddleware, externalAnswer)
router.post('/externalGains', verifySignatureMiddleware, externalGains)
router.post('/externalAnswer', verifyAuthExternal, externalAnswer)

Check failure

Code scanning / CodeQL

Missing rate limiting High

This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
router.post('/externalAnswer', verifySignatureMiddleware, externalAnswer)
router.post('/externalGains', verifySignatureMiddleware, externalGains)
router.post('/externalAnswer', verifyAuthExternal, externalAnswer)
router.post('/externalGains', verifyAuthExternal, externalGains)

Check failure

Code scanning / CodeQL

Missing rate limiting High

This route handler performs
authorization
, but is not rate-limited.
router.post('/externalAnswer', verifySignatureMiddleware, externalAnswer)
router.post('/externalGains', verifySignatureMiddleware, externalGains)
router.post('/externalAnswer', verifyAuthExternal, externalAnswer)
router.post('/externalGains', verifyAuthExternal, externalGains)

Check failure

Code scanning / CodeQL

Missing rate limiting High

This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
This route handler performs
a database access
, but is not rate-limited.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant