Xavier Guimard
5fbff01b27
Update versions
2019-06-14 17:27:54 +02:00
Xavier Guimard
2a021e37ea
Don't require getDisplayType in Choice ( #1800 )
2019-06-13 17:51:36 +02:00
Xavier Guimard
946384272e
Partial revert "Typo"
...
This reverts commit f63a63eedb
.
2019-06-06 16:00:49 +02:00
Christophe Maudoux
f63a63eedb
Typo
2019-06-05 11:25:50 +02:00
Christophe Maudoux
3dd4c52c65
Update version ( #1766 )
2019-05-26 10:33:39 +02:00
Christophe Maudoux
0e47cb4f5b
Fix warning message
2019-05-23 15:52:11 +02:00
Clément OUDOT
c024952b8f
Do not fail if no RP or no OP configured ( #1759 )
2019-05-17 16:00:33 +02:00
Xavier
b91d1d4b87
Tidy
2019-05-16 20:45:14 +02:00
Xavier
a2e78c88c3
Set versions
2019-05-16 20:42:31 +02:00
Christophe Maudoux
e46fac82b2
CheckUser with tokenGlobalStorage & Warn if SSO groups are merged
2019-05-15 23:45:06 +02:00
Clément OUDOT
05cd4d4a58
Fix update token with global storage ( #1742 )
2019-05-12 20:39:25 +02:00
Clément OUDOT
07de622e83
Fix getRegisterSession and getMailSession ( #1743 )
2019-05-12 17:36:14 +02:00
Xavier
f3c4ea0afb
Tydy
2019-05-11 20:18:43 +02:00
Xavier Guimard
1cd50bb353
Fix Auth::Remote session kind ( #1742 )
2019-05-10 18:02:56 +02:00
Xavier Guimard
638a0de81a
Don't use SSO session type for tokens (Fixes security part of #1742 )
2019-05-10 17:35:10 +02:00
Christophe Maudoux
c8dd4554aa
Test if required secret elements are set to sign JWT
2019-05-02 14:33:56 +02:00
Clément OUDOT
926262170b
Implement PKCE in OIDC provider ( #1722 )
2019-04-29 17:18:16 +02:00
Clément OUDOT
8e6f678be7
Create a configuration option to allow a Relying Party to be a public client
...
Allow unauthenticated requests on OAuth2 token endoint
#1725
2019-04-29 10:02:16 +02:00
Antoine ROSIER
8875a4e985
perltidy
2019-04-10 17:21:33 +02:00
Antoine ROSIER
8636da45be
Sorting SAML idp ( #1704 )
2019-04-10 17:06:41 +02:00
Clément OUDOT
ae3a728378
Manage template inclusion when file is not in configured portal theme ( #1653 )
2019-04-10 15:42:58 +02:00
maudoux
1bc519d11d
Fix warning ( #1694 )
2019-04-06 14:09:58 +02:00
Christophe Maudoux
cf36b44162
Cleaning code ( #1664 )
2019-04-05 20:04:17 +02:00
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