validate by autorization header
-
Just detected a problem with my WordPress site:
the token validate function did not work, as the Autorization header is not recognized by “getallheaders” function.
So each vaildate will fail on some systems
you have to add a line in your .htaccess file to get it work:
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0Hope this helps and maybe it can be added to documentation of someone only wants to use authorization header instead of parameters or other properties.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘validate by autorization header’ is closed to new replies.