-
Notifications
You must be signed in to change notification settings - Fork 0
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
Web UI #15
Conversation
mdemare
commented
Oct 12, 2024
- View status
- Removed wrap-routes
- Last fixes
{:body (if client-id "Unknown client id" "No client-id found") | ||
:status http-status/forbidden}))) | ||
(fn allowed-clients-checker [request] | ||
(let [{:keys [client-id public] :as resp} (app request)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Client ID moet op request zitten anders mag je (app request) niet doen! Nu gooi je gewoon response weg als achteraf blijkt dat dit niet mocht.....
Zet hier ook even een comment bij als je dit fixt want dit is de 2e keer dat het hier fout gaat.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrap-authentication
wordt als eerste uitgevoerd, dus er is nog niks gebeurd, behalve de routing. Ik heb de middleware expres zo geschreven dat ze als eerste (app request) uitvoeren, om het geheel wat minder onoverzichtelijk te maken.
7283e58
to
d33816c
Compare