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

Joomla 4 web api {"errors":[{"title":"Forbidden"}]} #31371

Closed
studio16 opened this issue Nov 9, 2020 · 5 comments
Closed

Joomla 4 web api {"errors":[{"title":"Forbidden"}]} #31371

studio16 opened this issue Nov 9, 2020 · 5 comments

Comments

@studio16
Copy link

studio16 commented Nov 9, 2020

Steps to reproduce the issue

Joomla 4 installed, all api related plugins enabled
Created a token in de admin
Tried both basic authentication
"Authorization: Basic ".base64_encode($user.':'.$pass),
and with token
"Authorization: Bearer TokenFromSuperadmin",

Expected result

results in json format

Actual result

{"errors":[{"title":"Forbidden"}]} on all requests

System information (as much as possible)

Joomla! 4.0.0-beta6-dev Development [ Mañana ] 27-October-2020
php 7.3
10.4.15-MariaDB-1:10.4.15+maria~bionic

Additional comments

Tried it with Postman and with an actual php (using curl) on the same server

@alikon
Copy link
Contributor

alikon commented Nov 9, 2020

quite sure it can be explained here: #27021 (comment)

@studio16
Copy link
Author

studio16 commented Nov 9, 2020

Thanks, that did the trick

@alikon
Copy link
Contributor

alikon commented Nov 9, 2020

closing

@alikon alikon closed this as completed Nov 9, 2020
@brianteeman
Copy link
Contributor

Does this need adding to the docs?

@alikon
Copy link
Contributor

alikon commented Nov 9, 2020

i think so

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

No branches or pull requests

4 participants