Commit Graph

31 Commits

Author SHA1 Message Date
Sascha Markert 96b197206e
Fix displaying of global checkboxes in user_saml settings
Signed-off-by: Sascha Markert <markert@b1-systems.de>
Signed-off-by: Sascha Markert <kaio@kaio.ws>

Update lib/Settings/Admin.php

space  to tabs

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Sascha Markert <kaio@kaio.ws>
Signed-off-by: Sascha Markert <markert@b1-systems.de>

merge latest commits (#1)

* Stricter check for direct=1 login

Signed-off-by: Carl Schwan <carl@carlschwan.eu>

* Revert "Handle mobile login flow with direct=1"

This reverts commit 86684d6c54.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>

* [tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Co-authored-by: Nextcloud bot <bot@nextcloud.com>
Signed-off-by: Sascha Markert <kaio@kaio.ws>
Signed-off-by: Sascha Markert <markert@b1-systems.de>

Revert "merge latest commits (#1)"

This reverts commit 626686f7afa8b373251e966ad28865483d6b56b1.

Signed-off-by: Sascha Markert <markert@b1-systems.de>
2022-05-24 12:28:25 +02:00
Valdnet 02e8d0375e l10n: Change place of dot
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-08 16:59:45 +00:00
Arthur Schiwon 77b14b6c6f fix old settings present when switching providers
- wrongly used way to set value attribute

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:04 +00:00
Arthur Schiwon 4c97efc51b fix reading and updated name-id-format selection
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:04 +00:00
Arthur Schiwon 7f0986c387 fix settings of first provider are not present on initial load
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:04 +00:00
Arthur Schiwon be6a8e97fe Move SAML configurations to a table of their own
- adds user_saml_configurations table and migrates existing configuration
- Controller methods are added since appconfig endpoints cannot be used
  anymore. THIS IS A BREAKING CHANGE.
- Frontend code is adjusted to use new endpoints.
- security-sloWebServerDecode was changed from global to provider specific
  setting. It being global seemed to be unintended. A migration path is yet
  missing.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-07 20:29:03 +00:00
John Molakvoæ 4510f70ff7
cs:fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-10 09:28:16 +01:00
Lukas Reschke 8afcb434dc Allow setting of "retrieveParametersFromServer"
Some SAML servers require this type of decoding, otherwise the SLO request fails. Ideally the library would perform both verifications (https://github.com/onelogin/php-saml/issues/466), but it seems upstream doesn't want to perform this change.

Until we have considered a better solution for this, this adds a new checkbox that one can configure.

Ref https://github.com/nextcloud/user_saml/issues/403

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-04 17:28:58 +02:00
Julius Härtl e75809a5f7
Add setting to specify a different signature algorithm
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-13 16:01:03 +01:00
Roeland Jago Douma 4e8ee3ae0a
Make NameIDFormat configurable
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-28 23:00:34 +02:00
Daniel Klaffenbach 624d1a23b9 Implement mapping of user's home directory
Signed-off-by: Daniel Klaffenbach <daniel.klaffenbach@hrz.tu-chemnitz.de>
2018-11-22 09:45:08 +01:00
Björn Schiessle b6b576852a
we only allow multiple user back ends in combination with SAML, not with environment variables
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-08-13 16:51:59 +02:00
Julius Härtl 00711b8fbb
Fix attribute mapping config fetching
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-03 12:43:19 +02:00
Julius Härtl 174234a14e
Fix issue when removing and adding the first idp
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-03 12:42:09 +02:00
Julius Härtl 8c3a4b83e4
Add global settings that are valid for all identity providers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-03 12:42:08 +02:00
Julius Härtl ee5308382b
Allow to configure multiple SAML providers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-03 12:42:06 +02:00
bne86 18aa824206 first version for group-mapping. groups are added and user assigned to groups. until now no group removal
Signed-off-by: bne86 <b.von.st.vieth@fz-juelich.de>
2018-03-19 16:07:33 +00:00
Björn Schiessle 8bc343da6f
make display name of SSO identity provider configurable
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-03-19 12:51:38 +01:00
Björn Schiessle cc361cc409
add setting to allow multiple user back-ends parallel to the saml back-end
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-03-16 14:56:29 +01:00
Roeland Jago Douma 9bf0d3eb3d
Add support for mapping the quota
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-14 21:15:04 +01:00
Allan Nordhøy 9cd8a36cf1 Fix spelling
XML, exists
admintest.php XML / exists
advanced_settings_example.php XML
removed "is" exists

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-07-18 19:42:35 +02:00
Lukas Reschke 1a1a11c8e9
Add support for mapping attributes
This adds support for mapping attributes for full name and email

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-02-16 15:23:46 +01:00
Lukas Reschke 29c60c3869
Add better error handling
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-02-03 12:30:10 +01:00
Morris Jobke 722e94c0d0
Add icon to admin page sidebar
* follow up to nextcloud/server#3151

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-01-24 12:01:34 -06:00
Lukas Reschke 59fc3d0fc9
ADFS lower-case support 2016-11-14 14:02:54 +01:00
Lukas Reschke 314ae475f6
Add support for environment variable login 2016-11-14 13:47:30 +01:00
Lukas Reschke da7afd3828
Add tests for "Admin"
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-30 14:19:12 +02:00
Lukas Reschke 6cdc174fdd
Add switch to configure whether SAML auth is used for desktop clients 2016-09-26 22:06:17 +02:00
Lukas Reschke 9b97c7350b
Remove unused code
This is now also part of core

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 21:24:44 +02:00
Arthur Schiwon f511e7e887
IAdmin is now ISettings 2016-08-11 14:48:45 +02:00
Lukas Reschke 85364aeb34
Use new admin page module
Makes this page a single page as implemented in https://github.com/nextcloud/server/pull/796
2016-08-10 16:27:21 +02:00