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

User not logged in #64

Open
digitxo opened this issue Dec 20, 2019 · 3 comments
Open

User not logged in #64

digitxo opened this issue Dec 20, 2019 · 3 comments

Comments

@digitxo
Copy link

digitxo commented Dec 20, 2019

{
"code": "rest_not_logged_in",
"message": "You are not currently logged in.",
"data": {
"status": 401
}
}

I get this error when I try to access https://balancingpawsdogtraining.com/wp-json/wp/v2/users/me using Basic AUth.... help please.

@constructivesoftware
Copy link

Did you get anywhere with this issue? I'm having the same problem.

@MarcoPNS
Copy link

MarcoPNS commented May 4, 2020

I guess you use PHP in CGI-mode. Here you need to add a RedirectRule to the top of your Wordpress .htaccess file:

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

@boiss-dev
Copy link

#35 (comment)

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

No branches or pull requests

4 participants