Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorization has failed! #188

Closed
Suitbert opened this issue Nov 8, 2020 · 2 comments
Closed

Authorization has failed! #188

Suitbert opened this issue Nov 8, 2020 · 2 comments

Comments

@Suitbert
Copy link

Suitbert commented Nov 8, 2020

Newbie-Question:
I did install the IndieAuth-plugin and do get the following site-health-message:

_Authorization has Failed
The authorization header was not returned on this test, which means that your server may be stripping the Authorization header. This is needed for IndieAuth to work correctly.

If you are on Apache, try adding this line to your .htaccess file:

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

If that doesnt work, try this:

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

If that does not work either, you may need to ask your hosting provider to reconfigure to allow the Authorization header to be passed. If they refuse, you can pass it through Apache with an alternate name. The plugin searches for the header in REDIRECT_HTTP_AUTHORIZATION, as some FastCGI implementations store the header in this location._

I did test the suggested .htaccess-lines. But there was no change in the result. My hoster is all-inkl.com. Sorry, I am not a software-developer. But maybe you will be able to give a hint to this. Thanks!
regards,
Suitbert

@dshanske
Copy link
Member

@Suitbert Can you check with the latest release and advise?

@dshanske
Copy link
Member

Closed due lack of response. Reopen if still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants