integration with nextcloud

Hello, I'd like to have an integration with Nextcloud like what the existing addon for onedrive, googledrive, box,… Does someone has already work on it ?

Is it possible to simply use an oauth2 service ? And what will be the nuxeo oauth callback ?

Best regards. Dominique.

0 votes

4 answers

1134 views

ANSWER



Thank you Gregory for your help. I can't make it work. Maybe it's not possible :-( Don't know.

I will try to see how live connect is working.

Best regards. Dominique.

0 votes



Hello,

You can do it from the Admin Menu (see the screenshot below)

0 votes



I know but my problem is what to put in user Autho Url or scopes. I know what to have in client and client secret but for URLs … ? I think it's something generic ? but ? :-(
08/22/2019

Thank you for your precious help.

What i have done : Authorization Server URL : http://localhost:8010/index.php/apps/oauth2/authorize
Token Server URL : http://localhost:8010/index.php/apps/oauth2/api/v1/token

When i try to connect (from home/cloud service), Nuxeo opens a window to the nextcloud connection, I give authorization and then, in this window i can navigate in nextcloud. It never returns to nuxeo and never add the nextcloud option in nuxeo. I still have the button to connect to nextcloud.

What is wrong i think it's the redirect URL I have put in nextcloud (http://localhost:8010/index.php/auth/oauth2/callback.php) but i don't know what is the nuxeo url I really appreciate your help. Thank you.

08/22/2019


Thank you Gregory for your help.

But what i'd like to do is to be able to add nextcloud/owncloud files in Nuxeo. I think I need to configure a service provider and I'm not sure what to add in Authorization Server URL, Token Server URL,User Authorization URL and in Scopes

Dominique

0 votes



Hello,

Please use Nuxeo OAUth2 protocol. Here is an example: https://doc.nuxeo.com/nxdoc/using-oauth2/ . Live Connect integrations are specific implementation of it.

0 votes