[invenio_base.api_apps]
invenio_rest = invenio_rest:InvenioREST

[invenio_base.apps]
invenio_rest = invenio_rest.csrf:CSRFTokenMiddleware

