This is more an inquiry than an issue, so i can understand if it gets ignored.
I'm trying to implement a basic WSAPI authentication filter that relies on the the Authorization http header. Something that would read the header, and set some sort of state in the env so the WSAPI application can use it. I started from the bare bones wsapi application:
But it seems that the wsapi_env doesn't contain anything relevant. There is no headers property (that's understood), no REMOTE_USER metavariable, nothing to rely on. I went through the docs and source code. No luck :-(
Hello!
This is more an inquiry than an issue, so i can understand if it gets ignored.
I'm trying to implement a basic WSAPI authentication filter that relies on the the Authorization http header. Something that would read the header, and set some sort of state in the env so the WSAPI application can use it. I started from the bare bones wsapi application:
https://github.com/keplerproject/wsapi/blob/master/samples/hello.lua
But it seems that the wsapi_env doesn't contain anything relevant. There is no headers property (that's understood), no REMOTE_USER metavariable, nothing to rely on. I went through the docs and source code. No luck :-(
Any pointers ?
Regards
Orestis