This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » eZ Platform » Session Based & Basic authentication

Session Based & Basic authentication

Session Based & Basic authentication

Tuesday 29 November 2016 7:15:52 pm


- Use eZ Platform's backoffice to manage content(Session Based Authentication)

- Use eZ's REST API in basic authentication mode to expose the data



1)According to the docs(, session base authentication is applied by default. Infact it seems that this is the method used to login an editor to the backoffice.

2)According to the docs, one must uncomment the 'ezpublish_rest' firewall in security.yml to enable basic authentication.

Infact if i enable basic authentication, i can successfully query eZ via REST API's in basic authentication mode.

Unfortunately this breaks the backoffice login functionality. When logging in to the backoffice, the editor is presented with the following error message: "An unexpected error occurred" which is caused by a 500 error "A Token was not found in the TokenStorage".



- Is my goal feasable? Or am i obbliged to use REST API in Session Base authentication mode?


Thank You

No reply yet!


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from