Nuxeo Enhanced Viewer - Invalid redirect_uri parameter

Hi all, I try to install Nuxeo Enhanced Viewer and a I did everything what is in configuration section: https://doc.nuxeo.com/nxdoc/nuxeo-enhanced-viewer/#since-103

In my nuxeo.conf I have set:

arender.server.previewer.host=http://arender-previewer-url:80
nuxeo.arender.oauth2.client.create=true
nuxeo.arender.oauth2.client.id=arender
nuxeo.arender.oauth2.client.secret=OAUTH2_SECRET
nuxeo.arender.oauth2.client.redirectURI=/login/oauth2/code/nuxeo

In my hosts file: 127.0.0.1 nuxeo.demo arender-previewer-url

but I get this error:

Invalid redirect_uri parameter: http://arender-previewer-url/login/oauth2/code/nuxeo. It must exactly match one of the redirect URIs configured for the app.

Any ideas? :) thnx

0 votes

0 answers

751 views

ANSWER