?
avatar fuscage
fuscage
2 Apr 2020

Steps to reproduce the issue

install joomla 4
enable plugin API Authentication - Basic Auth
and try to get something with curl (https://docs.joomla.org/J4.x:Joomla_Core_APIs)

open msdos
curl -X GET https://{dnsname}/j4/api/index.php/v1/banners --user user_name:password

Expected result

json with the list of elements (banners, articles, ...)

Actual result

{"errors":[{"title":"Forbidden"}]}

System information (as much as possible)

joomla 4 alpha 12

Additional comments

avatar fuscage fuscage - open - 2 Apr 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Apr 2020
avatar Quy
Quy - comment - 2 Apr 2020

Alpha 12 is very outdated. Please test with the nightly build. https://developer.joomla.org/nightly-builds.html

avatar fuscage fuscage - change - 3 Apr 2020
Title
[J4] restful curl result {"errors":[{"title":"Forbidden"}]}
[4.0] restful curl result {"errors":[{"title":"Forbidden"}]}
avatar fuscage fuscage - edited - 3 Apr 2020
avatar fuscage
fuscage - comment - 3 Apr 2020

thanks, it's better with the last version

avatar fuscage fuscage - close - 3 Apr 2020
avatar fuscage fuscage - change - 3 Apr 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-04-03 11:53:14
Closed_By fuscage
avatar studio16
studio16 - comment - 9 Nov 2020

Sameissue with ‎4.0.0-beta6-dev.

avatar studio16
studio16 - comment - 9 Nov 2020

both basic and bearer authentication give all {"errors":[{"title":"Forbidden"}]}
Tried it with postman and with a php curl file

Add a Comment

Login with GitHub to post a comment