If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Hi David, that doesn't seem to be working for me. The header is called "Authorization," not "Authentication." I did a few tests using curl to send requests with the "Authorization: Basic XXXXXXX" header. The module's log file shows that it received the requests, but the variable s.http_authorization came up empty every time.
Can you please check on the correct syntax for this? If there's documentation on it, you can just send me a link. I wasn't able to find anything in the descriptions of system variables.
Maybe there's some config setting that I need to change to enable this variable?
Hi Kent,
I am almost certain this can be done, but I am not at my main computer, and can't locate any code to help...
Hopefully someone else can chime in.
I'm working on a module that will receive incoming JSON requests from a fulfillment house, and use the data to update order status. The fulfillment server can send requests with Basic authentication, using a username and password that we specify. But is it possible for a script or module to read the HTTP headers of an incoming request to json.mvc?
The documentation mentions a system variable, s.auth_type, which may be related to this. But the description is so vague, I can't tell what it actually contains.
Leave a comment: