Closed maximevalette closed 1 year ago
Hi, so the doc is a bit ahead as in fact the http-auth was never implemented: https://github.com/loopingz/smtp-relay/blob/main/src/filters/http-auth.ts
It is pretty easy to implement, will try to do so today.
I'm curious how do you see you endpoint implementation:
Then to parse the answer either rely solely on HTTP error code on a path within json with condition
Hi, thanks a lot, really appreciate it! I wanted to open a PR but thought that it was probably not that helpful.
For my use case I'd like to have the authenticated username (the password would be a security issue for me) and the sender / recipient. JSON body would work for me.
Okay so likely closer to what I could call an http-filter
, getting a JSON of all gathered data and filtering based on this.
The release 1.4.0
includes the changes, let me know if you have questions configuring/implementing.
Do not hesitate to open PR to clarify part of the documentation, and if you like the project, please star it, it helps with visibility.
Awesome, I tried it and it works perfectly. Thanks again for this quick update!
Describe the bug The filter
http-auth
appears to not be imported into the project and therefore cannot be used.To Reproduce Steps to reproduce the behavior:
http-auth
filter into the config fileExpected behavior The http-auth filter should be working