Christophe Maudoux
2b818a9c02
Append specific ottRule dependency ( #1694 )
2019-04-05 17:23:09 +02:00
Xavier Guimard
2159957c34
Update versions
2019-04-05 09:54:43 +02:00
Xavier Guimard
ece9b21219
Remove trailing whitespaces
2019-04-03 14:15:16 +02:00
Maxime Besson
d44a042fd5
Revert 8f5fbb077e
and change the way logout errors are handled
...
Relating to issue #1668 , the proposed fix works when there is only one
service provider to logout of.
Now that multiple service provider logout is starting to work again on
2.0, we cannot read the remote_ProviderID from the logout object because
it is only filled by lasso when actually building the response.
Instead, we ignore any error that could occur when building the
response, log a warning and show the portal instead. Still better than
an internal server error.
2019-04-03 11:20:24 +02:00
Clément OUDOT
502a32e257
Add unit test and fix code for ppolicy grace ( #1691 )
2019-04-01 09:58:56 +02:00
Xavier
01ab88ba57
Fix for #1691
2019-04-01 06:52:21 +02:00
Clément OUDOT
d620ae2e8b
Merge branch 'maxbes/lemonldap-ng-saml-issuer-entityid-override' into v2.0
2019-03-13 10:30:16 +01:00
Maxime Besson
8f5fbb077e
When logout-initiating SP has no known SLO endpoint, fallback to portal
...
In some federations, SLO endpoints are not published, yet SP are still
able to initiate logouts.
This used to cause an error on the portal, this commit changes the error
into a warning in logs. The user remains on the portal and sees a normal
logout message.
2019-03-12 17:58:41 +01:00
Xavier Guimard
bc2bef4ff4
Please use our .perltidyrc
2019-03-07 18:22:58 +01:00
Maxime Besson
e290cd59d6
Fix undef warnings in metadata generation
...
Fix some undef warnings introduced in
12d2db35a9
2019-03-04 09:33:12 +01:00
dcoutadeur
3af15b139e
fix id_token validity not correctly evaluated #1662
2019-02-28 09:56:21 +01:00
Maxime Besson
12d2db35a9
Add new URLs for SP-only or IDP-only SAML metadata
...
This commit adds two new URLs:
/saml/metadata/idp : IDP-only metadata
/saml/metadata/sp : SP-only metadata
/saml/metadata keeps providing metadata for all SAML services
2019-02-27 18:14:30 +01:00
Xavier Guimard
c7b4eb5051
tidy with new conf
2019-02-07 09:27:56 +01:00
Xavier Guimard
58fc9c2fad
Update versions
2019-02-06 19:30:57 +01:00
Clément OUDOT
8b76218025
Fix error message for ppolicy ( #1639 )
2019-02-06 11:39:37 +01:00
Xavier Guimard
5886cbe2a0
Tidy
2019-02-05 23:12:17 +01:00
Xavier Guimard
e2b026b7c8
Fix versions
2019-02-05 23:06:18 +01:00
Christophe Maudoux
21206099ce
Append display options for SAML IDP ( #1637 )
2019-02-05 22:39:09 +01:00
Clément OUDOT
c77783eb2f
Merge branch 'v2.0'
2019-02-05 18:46:40 +01:00
Xavier Guimard
0ddcaa5dc9
Update versions
2019-02-05 18:44:38 +01:00
Christophe Maudoux
b39e6ce99f
WIP - Append relative parameters ( #1637 )
2019-02-04 23:13:54 +01:00
Xavier Guimard
22a54210dd
Merge branch 'fix-plaintext-email' into 'master'
...
Fix plaintext email
See merge request lemonldap-ng/lemonldap-ng!53
2019-02-01 15:37:00 +01:00
Xavier Guimard
c77317fef7
Update versions
2019-01-31 23:20:57 +01:00
Xavier Guimard
c60ba130b8
Replace rand() by Crypt::URandom::urandom()
2019-01-31 23:16:52 +01:00
Maxime Besson
6890b290b1
Fix plaintext email
...
For the few of us who like plain text email better.
Before this commit, the mail body would not be correctly pulled from
config, and then the portal would error 500 due to MIME::Entity objects
not having an "attr" accessor, unlike the previously used MIME::Lite
objects
2019-01-30 12:06:05 +01:00
Xavier Guimard
9ebc18ca5d
Update version
2018-12-18 13:13:15 +01:00
Xavier Guimard
3cd14656f5
Add "all" trOver in mails ( Fixes : #1586 )
2018-12-17 21:09:24 +01:00
Xavier Guimard
dc0e173cf2
Fix #1588
2018-12-17 19:34:28 +01:00
Clément OUDOT
28208a5f2d
Allow mail template message override ( #1586 )
2018-12-17 11:50:40 +01:00
Xavier Guimard
f6f1072ef6
Fix double init ( #1550 )
2018-11-29 21:19:39 +01:00
Xavier Guimard
11857d9f8a
make tidy
2018-11-26 14:40:21 +01:00
Christophe Maudoux
3167aaeeb0
Avoid warning msg
2018-11-23 23:10:01 +01:00
Christophe Maudoux
217e4c43f3
Fix display ( #1550 )
2018-11-23 22:08:06 +01:00
Clément OUDOT
356a588a92
Fix DN encoding issue in LDAP password modification ( #1540 )
2018-11-14 10:15:28 +01:00
Xavier Guimard
e317d180b9
Fix MailReset for DBI ( #1508 )
...
Same todo with other Password::* backends
2018-11-13 11:30:45 +01:00
Christophe Maudoux
1e17506ee1
Fix warning msg ( #1532 )
2018-10-31 22:46:03 +01:00
Christophe Maudoux
3ac5f0f02b
Update Choice.pm
2018-10-30 07:44:04 +01:00
Christophe Maudoux
37c6498e3c
Avoid append same URL ( #1532 )
2018-10-29 22:14:51 +01:00
Christophe Maudoux
52a7f884f6
Append URL test ( #1532 )
2018-10-29 22:10:49 +01:00
Clément OUDOT
3445b697c0
Set authChoice in request data ( #1524 )
2018-10-16 17:25:43 +02:00
Clément OUDOT
ce24a05168
Test if Choice condition is not empty ( #1500 )
2018-10-16 15:10:30 +02:00
Clément OUDOT
ba630d5117
Test if Choice condition is not empty ( #1500 )
2018-10-16 15:07:56 +02:00
Christophe Maudoux
c031e63f5e
Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng
2018-10-15 21:14:33 +02:00
Christophe Maudoux
05f207927f
Fix syntax error ( #1522 )
2018-10-15 21:06:08 +02:00
Xavier Guimard
6331338105
Fix warning in inheritance
2018-10-15 20:58:16 +02:00
Clément OUDOT
c5f9a7f95b
make tidy
2018-10-12 10:04:03 +02:00
Clément OUDOT
b8e10222f4
Do not stop if one SP or IDP cannot be loaded ( #1516 )
2018-10-09 19:36:59 +02:00
Xavier Guimard
1ef8c05908
Add "over" feature to choice ( #1500 )
2018-10-08 16:57:24 +02:00
Christophe Maudoux
6c4dcf44ec
Fix typo
2018-10-07 14:12:36 +02:00
Xavier Guimard
0d3cccc491
Fix loadPlugin/loadModule issues in Choice ( #1500 )
2018-10-03 22:31:28 +02:00
Xavier Guimard
2ac66fc1d7
Missing "with" #1500
2018-10-03 22:01:13 +02:00
Xavier Guimard
29d00823e5
Factor loadPlugin override ( #1500 )
2018-10-03 21:48:57 +02:00
Clément OUDOT
9de86c39fa
Use pdata choice first ( #1461 )
2018-09-27 15:12:38 +02:00
Clément OUDOT
800f0bd96a
Do not create server error on SAML error ( #1502 )
2018-09-11 11:07:23 +02:00
Clément OUDOT
1f215987c2
Restore possibility to have a custom choice module logo
2018-09-07 20:11:36 +02:00
Xavier Guimard
10ed38bd3a
Optimize notifications ( #1497 )
2018-09-05 13:35:50 +02:00
Xavier Guimard
6278398060
Move "afterData" entry point before "buildCookie" and add "endAuth" entrypoint ( #1497 )
...
TODO: optimize notifications
2018-09-05 09:22:20 +02:00
Christophe Maudoux
d08776b0ca
Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng
2018-09-04 21:38:41 +02:00
Christophe Maudoux
9ef7c051a4
Change inheritance links to be more consistent with Plugins architecture
2018-09-04 21:05:08 +02:00
Xavier Guimard
9ed4303db1
Don't fail on init() if DBI connection fails ( #1496 )
2018-09-04 09:57:05 +02:00
Xavier Guimard
5d05292c84
More info in logs #1496
2018-09-04 09:50:48 +02:00
Xavier Guimard
e001d4f8ef
Don't populate ->error if LDAP connection fails
...
Fixes : #1496
2018-09-04 09:39:21 +02:00
Xavier Guimard
9beaac9c85
Improvements ( #1496 )
2018-09-04 07:08:46 +02:00
Xavier Guimard
62d5c7836c
make tidy
2018-09-02 17:31:58 +02:00
Clément OUDOT
46702f3a62
Allow to add URLs in CSP from-action from the request object ( #1480 )
2018-08-28 18:24:01 +02:00
Xavier Guimard
4ef9fa374a
Add sfRequired option ( #1487 )
2018-08-09 08:21:09 +02:00
Xavier Guimard
16dfbed636
Tidy
2018-07-12 09:04:05 +02:00
Clément OUDOT
b634bc91c2
token_type is case insensitive ( #1474 )
2018-07-10 18:53:40 +02:00
Xavier Guimard
c118a60c1e
Fix "cancel" feature ( #1461 )
2018-07-10 11:43:36 +02:00
Xavier Guimard
8353215adb
Add authCancel entry point ( #1461 )
...
UNTESTED !!!
@clement_oudot: not enough time to test this morning
2018-07-10 07:11:08 +02:00
Xavier Guimard
ea48c78a28
Change choice order ( #1461 )
2018-07-06 14:44:41 +02:00
Xavier Guimard
0f7b3ca71d
make tidy
2018-07-05 23:00:40 +02:00
Xavier Guimard
b2620c2679
s/datas/data
...
datas => des données
data => les données
2018-07-05 22:56:16 +02:00
Xavier Guimard
1a6f717dfc
Use pdata in Choice ( #1461 )
2018-07-05 22:05:24 +02:00
Xavier Guimard
1cd5a706c9
Avoid session conflict between Issuer and Auth OIDC ( #1468 )
2018-06-30 07:51:22 +02:00
Xavier Guimard
a5cc73a54c
Avoid session conflict between Issuer and Auth CAS ( #1468 )
2018-06-30 07:44:05 +02:00
Xavier Guimard
33712dcf13
Set ignore system for issuers ( #1468 )
2018-06-29 14:31:43 +02:00
Xavier Guimard
e6ad687618
Change session key names between Auth and Issuer (SAML #1468 )
2018-06-29 06:50:31 +02:00
Xavier Guimard
9ea5668232
#1468 in progress
2018-06-28 06:48:58 +02:00
Xavier Guimard
8596b339e8
Use build_urlencoded everywhere ( #1461 )
2018-06-26 19:13:06 +02:00
Xavier Guimard
95e76061cd
Add debug for strange behavior ( #1342 )
2018-06-21 13:58:42 +02:00
Clément OUDOT
3168f7eb41
Workaround for server error ( #1342 )
2018-06-21 12:01:30 +02:00
Xavier Guimard
4087038c64
Bad management of entry point in choice ( #1342 )
2018-06-20 22:29:48 +02:00
Xavier Guimard
ff0c8029db
Change oidc content key for removal ( #1431 )
2018-06-20 21:38:26 +02:00
Clément OUDOT
9dfe054e64
Fix CAS proxy code ( #1224 )
2018-06-19 16:47:09 +02:00
Xavier Guimard
21f588153e
Fix #1342
2018-06-18 23:19:33 +02:00
Xavier Guimard
cea0f32801
#1342 in progress
2018-06-18 22:37:28 +02:00
Xavier Guimard
784304702b
Useless arg ( #1162 )
2018-06-13 21:34:27 +02:00
Xavier Guimard
f5b3617ad9
Typo errors ( #1162 )
2018-06-13 21:18:15 +02:00
Clément OUDOT
28c4429b75
Configuration for SAML signature method ( #1247 )
2018-06-12 18:22:21 +02:00
Clément OUDOT
3898db68a7
Provide kid in JWT only for RS signatures ( #1426 )
2018-05-19 16:29:05 +02:00
Xavier Guimard
dfcd8486d2
Optimize URL escape calls ( #595 )
2018-05-18 16:34:59 +02:00
Xavier Guimard
0849df9da0
Avoid little warning ( #595 )
2018-05-14 21:52:52 +02:00
Clément OUDOT
bd33897a52
Fix multi values separator ( #1420 )
2018-05-14 12:21:17 +02:00
Clément OUDOT
0669303baf
Display CAS responses in debug logs ( #1420 )
2018-05-11 21:58:59 +02:00
Xavier Guimard
c673be7cf2
Set some default values in Attributes.pm ( #595 )
2018-04-30 18:06:15 +02:00
Xavier Guimard
57715c8b69
Fix #1413
2018-04-28 09:09:34 +02:00
Xavier Guimard
564b34176b
Fix rule if 0 ( #1413 )
2018-04-27 20:10:31 +02:00
Clément OUDOT
90dc78932e
Fix error on undefined object method ( #1413 )
2018-04-27 15:57:07 +02:00
Xavier Guimard
baf0b90b68
Fix name error in rule ( #1413 )
2018-04-27 13:54:06 +02:00