Commit graph

18 commits

Author SHA1 Message Date
Arthur Schiwon fae25fa4ab
fix signining in with IdPs other than 1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-08-24 14:32:57 +02:00
Sascha Markert 24553b466a
replace spaces with tab
Signed-off-by: Sascha Markert <markert@b1-systems.de>
2022-05-24 14:47:42 +02:00
Sascha Markert ecbedfa3d7
fix routes to use 1 as default value for idp
Signed-off-by: Sascha Markert <markert@b1-systems.de>
2022-05-24 14:41:32 +02:00
Carl Schwan c51048b566 Minor fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-07 20:29:03 +00:00
John Molakvoæ 24a632588c Add regex routes requirement to providerId
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-07 20:29:03 +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
Frieder Schrempf 413c7a9239
Handle SLO logout requests from IdP via POST
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-06-17 18:56:55 +02:00
Roeland Jago Douma 1365bf820d
Load a timezone file if no timezone is set
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-27 08:39:22 +02:00
Björn Schiessle 6d02ab0717
set base url to 'http://domain/nextcloud/index.php/apps/user_saml/saml'
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-09 22:08:33 +02:00
Julius Härtl 1b4b4ee188
Add controller method to delete all idp config keys
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
Björn Schiessle 7daab97ace
add landing page to chose between SSO and direct login
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-03-19 12:51:30 +01:00
Björn Schiessle 4b8558522b
detect disabled user and show a appropriated error message
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-03-13 19:06:41 +01:00
Lukas Reschke 59a7b8b50e
Add tests for routes.php
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-14 14:18:59 +01: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
Lukas Reschke f734958836
Add possibility to enforce local user account
Fixes https://github.com/nextcloud/user_saml/issues/12
Fixes https://github.com/nextcloud/user_saml/issues/5
2016-06-29 20:34:10 +02:00
Lukas Reschke 84c1547c85
Add application specific passwords
Fixes https://github.com/nextcloud/user_saml/issues/1
2016-06-29 18:50:02 +02:00
Lukas Reschke ada6b6ebc8
Initial import 2016-06-29 00:04:23 +02:00