Details
-
Bug
-
Resolution: Invalid
-
High
-
1.7.2, 1.8.1, 1.9.0
-
Operating System: Debian 8
PHP Version: 5.6.30-0+deb8u1
Database and version: Mysql 5.5.54-0+deb8u1
Browser (and version): Firefox 52
Env: Prod
Description
Steps to reproduce
-Enable basic http auth for Rest in security.yml
go to app/config/security.yml and uncomment the ezpublish_rest block
ezpublish_rest:
pattern: ^/api/ezp/v2
stateless: true
ezpublish_http_basic:
realm: eZ Publish REST API
-Go to login page in backoffice
-Try to login as admin
We have an "An unexpected error occurred" and are unable to login
In response we have
{"ErrorMessage":{"_media-type":"application\/vnd.ez.api.ErrorMessage+json","errorCode":500,"errorMessage":"Internal Server Error","errorDescription":"A Token was not found in the TokenStorage."}}