Skip to main content

Installation

Requirements​

  • xTIPP 1.0.36. The plugin needs the hook points for menus and pages, which older versions do not have. For xTIPP 1.0.35, use plugin version 0.0.1.
  • PHP 8.4 with the extensions xTIPP needs, and additionally openssl, which verifies the signature of the ID tokens.
  • HTTPS for the providers. The issuer URL of a provider must start with https://.

Install​

  1. Install the plugin, either way:
    • ZIP upload: upload the ZIP of a release in the admin area under Konfiguration → Erweiterungen. The upload must be enabled on the server with XTIPP_PLUGIN_UPLOAD=1 in the .env of xTIPP.
    • FTP: upload the folder to plugins/oidc/ of your xTIPP installation. Check that all files arrived.
  2. Activate it under Konfiguration → Erweiterungen. This runs the migrations, which create the database tables.
  3. Open Konfiguration → OIDC-Anbieter (/admin/oidc-anbieter) and create a provider.
  4. Optional: allow new accounts via OIDC.

The buttons of all active providers then appear on the login page of xTIPP.

Update​

Upload the ZIP of the new version the same way. The old version is kept in storage/app/plugin-backups/.

Alternatively, deactivate the plugin, replace the files via FTP and activate it again.

Remove​

Deactivating the plugin does not roll back its migrations. Tables and settings stay in the database. To remove everything:

  1. Deactivate the plugin.

  2. Optional: roll back all migrations of the plugin. This drops both tables and all connections. Run it before you delete the folder:

    php artisan migrate:reset --path=plugins/oidc/database/migrations --realpath --force
  3. Delete plugins/oidc/.

  4. If you kept the tables and want a clean state, remove the migration rows of the plugin from the migrations table and the setting plugin.oidc.oidc_allow_registration from xtipp_config_general.

tip

Users who registered only through a provider have no password. They can set one with Passwort vergessen? on the login page or in their profile area, and keep using xTIPP without the plugin.