Requires https://github.com/nextcloud/server/pull/21479 to fully work.
Basically don't save this info in the session (which is lax by default
starting with NC19 but also soon with new chromes and firefox). We now
save it is a cookie that is set to None. This is the best we can do I
think.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
adjust CI config
- NC 15 is EOL
- integration tests need PHP 7.3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
add test pipeline for NC 18
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
go for 18 only
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
it might well may be that the user exists but is not yet known to the
specific backend in Nextcloud and need to be mapped first.
This assumes that searching for the uid will actually find the user. This
is not necessarily given by the backend configuration.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1. Enable `debug` mode if debug mode is enabled in config.php
2. Log errors to the log file
Also I fixed the unit tests that broke with https://github.com/nextcloud/user_saml/pull/81
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>