Generate Nuxeo user token to be used in third party application
Hello, I have an application that should use Nuxeo API to list documents/rename them.. The issue here is that Nuxeo and my application have distinct user directories (and should stay that way..). My question is: Does Nuxeo expose a UI component (pop up for example..) for the user to type its credentials and pass me the token so that I can do some work on his behalf through Nuxeo API? If not I'm open to any suggestion that would solve my issue :) Thanks
Nuxeo implements OAuth2 - Authorization Code Grant Type https://doc.nuxeo.com/nxdoc/using-oauth2/, maybe it can help you
resource owner; client; authorization server; resource server;
the 'resource owner' is the 'user' (in this case is the nuxeo user); the 'client' is your 'application', (the application that should user Nuxeo API to list document/rename them…); the authorization server is the place where you get authenticated (in this case is Nuxeo); the resource server is the api that you will consume (in this case is Nuxeo too);
so basically the 'client-id' is not the 'user id' from nuxeo, it is just an identification for your application