Instructions for integrating Nextcloud

Configure OpenID Connect

OpenID Connect enables amberSearch to allow the end users to link their Nextcloud accounts within amberSearch. Thus, the understanding of user context is guaranteed.

  1. Go to Apps -> Security -> Download and Install OIDC Identity Provider https://url-to-your-nextcloud/settings/apps/security/oidc

  2. Go to Settings -> Security -> Create a new client under OpenID Connect - Clients

  3. Provide Client Identifier and Secret to amberSearch Team

Set up a service user

The service user is needed by amberSearch to access the documents and index them. Furthermore, it is also used for loading documents in real time if end users trigger documents preview or download functions in amberSearch.

  1. Create a user within Nextcloud

    Bild1.png
  2. Provide the following information to the amberSearch Team

    • URL of your Nextcloud tenant

    • Username of the service user

    • Password of the service user

  3. Share all documents with the service user. At least Read AND Share Permissions should be granted

    • Be aware that users have to share their personal files with amberSearch if they want to intelligently search through their documents in amberSearch

      Bild2.png
  4. Make sure to assign administrator permissions to the newly created user.

    Without these permissions, the service user won't be able to determine which files are shared with which users.

    To grant administrator access, simply add the user to the admin group.

    Note that Nextcloud distinguishes between two types of administrators: Group Administrators and Super Administrators. In this case, you must assign Super Administrator permissions, as Group Administrators can only access information within their own groups.