• Resolved pingouin

    (@pingouin)


    Hi all,

    On Test Configuration, after put the Token string and click on “Check Token” I have the error message “MISSING_AUTHORIZATION_HEADER”. Same with the “Test Configuration” button.

    Here is the htaccess file:

    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    RewriteCond %{HTTP:Authorization} ^(.) RewriteRule ^(.) – [E=HTTP_AUTHORIZATION:%1]

    RewriteBase /
    RewriteRule ^index.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support abhiladdha07

    (@abhiladdha07)

    Hi @pingouin,

    Thanks for reaching out to us.

    Can you please try adding the following lines after the RewriteBase statement in your .httaccess file –

    RewriteCond %{HTTP:Authorization} ^(.)
    RewriteRule . – [e=HTTP_AUTHORIZATION:%1]

    Also, remove the following statements as well from your .httaccess file

    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    RewriteCond %{HTTP:Authorization} ^(.) RewriteRule ^(.) – [E=HTTP_AUTHORIZATION:%1]

    Hope this helps and you can also check our full developer documentation here.

    Please update here once you try the above mentioned points and the result you got.

    Thanks,

    Team miniOrange

    Thread Starter pingouin

    (@pingouin)

    I tested with these modifications, the result is that the “Check Token” and “Test Configuration” buttons no longer work, there was no result in return.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP:Authorization} ^(.)
    RewriteRule . – [e=HTTP_AUTHORIZATION:%1]
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    I then moved the two lines all over the code, still with the same result. The only time the buttons reacted was by placing the two lines after /IfModule>. But the message was again “MISSING_AUTHORIZATION_HEADER”

    I must also tell you that the site is hosted on a Ionos shared server.

    • This reply was modified 1 year, 11 months ago by pingouin.
    Plugin Support abhiladdha07

    (@abhiladdha07)

    Hi @pingouin,

    Thanks for the update.

    The htaccess rules look good but as you still have the same issue, can you please check with the IONOS server team if there is anything we need to do additionally to have these rules in effect?

    Also, please make sure that there is no caching enabled on your WordPress site or on IONOS server.

    In case the issue still persists, then we have one feature in the Premium plugin named Custom Header-based authentication, where you can pass the Bearer token generated using JWT authentication in any custom header rather than passing in Authorization which your server is blocking. You can check more details about the feature set here.

    Looking forward to hearing further updates from you.

    Thanks,
    Team miniOrange

    Plugin Support abhiladdha07

    (@abhiladdha07)

    Hi @pingouin,

    We haven’t heard back from you in the last couple of days, so we are marking this thread as resolved. You can always post your queries on this forum if you have any questions or face issues with our plugin. We’d be happy to help you.

    Thanks,
    Team miniOrange

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘MISSING_AUTHORIZATION_HEADER’ is closed to new replies.