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
- 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=1in the.envof xTIPP. - FTP: upload the folder to
plugins/oidc/of your xTIPP installation. Check that all files arrived.
- ZIP upload: upload the ZIP of a release in
the admin area under Konfiguration → Erweiterungen. The upload must be enabled on the server with
- Activate it under Konfiguration → Erweiterungen. This runs the migrations, which create the database tables.
- Open Konfiguration → OIDC-Anbieter (
/admin/oidc-anbieter) and create a provider. - 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:
-
Deactivate the plugin.
-
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 -
Delete
plugins/oidc/. -
If you kept the tables and want a clean state, remove the migration rows of the plugin from the
migrationstable and the settingplugin.oidc.oidc_allow_registrationfromxtipp_config_general.
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.