Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-06-17Handle SLO logout requests from IdP via POSTFrieder Schrempf
Some IdPs send their SLO logout requests via POST. To handle them we need to add an entry in the routing table. Further, we need to hack around the issue, that php-saml only handles GET by copying the request from $_POST to $_GET. This solves #82. Signed-off-by: Frieder Schrempf <frieder.schrempf@online.de>
2019-05-29Make NameIDFormat configurableRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-27Load a timezone file if no timezone is setRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-11only update GuzzleArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-04-11last fix for integration testsArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-04-10styleArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-04-10fix using rh-php7x collectionArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-11-27Merge pull request #188 from nextcloud/dav_samlBjörn Schießle
Add sabredav plugin to register environment auth for dav requests
2018-11-26fix testRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-22fix bootstrapBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-11-22Implement mapping of user's home directoryDaniel Klaffenbach
Signed-off-by: Daniel Klaffenbach <daniel.klaffenbach@hrz.tu-chemnitz.de>
2018-10-30adjust unit testsBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-09set base url to 'http://domain/nextcloud/index.php/apps/user_saml/saml'Bjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-09fix testBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-09-25update unit testsBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-08-13we only allow multiple user back ends in combination with SAML, not with ↵Bjoern Schiessle
environment variables Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-08-03fix integration testsBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-08-03fix unit testsBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-08-03Fix attribute mapping config fetchingJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-03Fix issue when removing and adding the first idpJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-03Fix testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-03-19Add and remove user groups with SAMLSérgio Faria
Based on PR #95, however: - Also removes groups based on the group attribute(s). - Supports groups with spaces (which the previous PR didn't). - Includes unit test Signed-off-by: Sérgio Faria <sergio.faria@is4health.com>
2018-03-19first version for group-mapping. groups are added and user assigned to ↵bne86
groups. until now no group removal Signed-off-by: bne86 <b.von.st.vieth@fz-juelich.de>
2018-03-19Merge pull request #196 from nextcloud/multiple-user-back-endsRoeland Jago Douma
Multiple user back ends
2018-03-19make display name of SSO identity provider configurableBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-03-19update unit testsBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-03-19Merge pull request #192 from nextcloud/fix/162/search-uid-if-not-knownblizzz
try to lookup a user if the uid does not resolve and autoprov is disabled
2018-03-15adjust unit testsBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-03-14try to lookup a user if the uid does not resolve and autoprov is disabledArthur Schiwon
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>
2018-03-14fix integration tests to use php7Bjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-03-13add testsBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2017-08-18Use URL also available under Nc12Lukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-08-18Accept text/htmlLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-08-18Redirect users to previous pageLukas Reschke
This change ensures that users will be sent to the previous page. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-08-04Adjust testsLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-08-04Also update timestamp for environment variable authLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-08-04Perform logic in ACSLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-08-04Set last login after successful login operationLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-31Add test for ensuring keeping of displaynameLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-31Revert "Add test for keeping display name after login"Lukas Reschke
2017-07-31Add test for keeping display name after loginLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-18Fix spellingAllan Nordhøy
XML, exists admintest.php XML / exists advanced_settings_example.php XML removed "is" exists Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-02-16Add support for mapping attributesLukas Reschke
This adds support for mapping attributes for full name and email Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-02-03Add better error handlingLukas Reschke
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>
2017-01-19Add integration test for Environment VariableLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-01-13Enable strict modeLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-01-05Add integration testsLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-14Do not use deprecated class anymoreJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-14Basic test file for user backendLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-14Test for case with no matching UID mappingLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>