We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59b5d41 commit 91a7113Copy full SHA for 91a7113
public/class-jwt-auth-public.php
@@ -213,6 +213,13 @@ public function validate_token($output = true)
213
* return the user.
214
*/
215
$auth = isset($_SERVER['HTTP_AUTHORIZATION']) ? $_SERVER['HTTP_AUTHORIZATION'] : false;
216
+
217
218
+ /* Double check for different auth header string (server dependent) */
219
+ if (!$auth) {
220
+ $auth = isset($_SERVER['REDIRECT_HTTP_AUTHORIZATION']) ? $_SERVER['REDIRECT_HTTP_AUTHORIZATION'] : false;
221
+ }
222
223
if (!$auth) {
224
return new WP_Error(
225
'jwt_auth_no_auth_header',
0 commit comments