• ResolvedPlugin Author pesseba

    (@pesseba)


    Hi, the HTTP_AUTHORIZATION header can conflict with page protection header parameter, like in WPEngine hosting, per example. This kind of page protection is usefull for sites under construction, staging and development environments with no external access.
    Please, could you create a filter to change the header key used. Something like this:

    
    $headerkey = apply_filters('jwt_auth_authorization_header', 'HTTP_AUTHORIZATION');
    $auth = isset( $_SERVER[$headerkey] ) ? $_SERVER[$headerkey] : false;
    
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Authorization Header conflicts with protected sites’ is closed to new replies.