Skip to content

Developer Documentation

H2CK edited this page May 15, 2024 · 3 revisions

Nextcloud OIDC App

Development

To install it change into your Nextcloud's apps directory:

cd nextcloud/apps

Then clone this repository.

Following install the dependencies using:

make composer

Frontend development

The app requires to have Node and npm installed.

  • Run make dev-setup to install the frontend dependencies
  • To build the Javascript whenever you make changes, run make build-js

To continuously run the build when editing source files you can make use of the make watch-js command.

Build app bundle

Execute make build to build for production bundle at build/artifacts. Perform make appstore to create tar.gz in build/artifacts.

Translations

Translations are done using Transifex. If you like to contribute and do some translations please visit Transifex.

TODOs / Ideas for extensions

  • Support other methods to transport client_credentials (in query / body)
  • Add authentication backend to allow usage of JWT to access resources at Nextcloud server
  • Create / enhance unit and integration tests