Add support for mapping attributes#90
Conversation
This adds support for mapping attributes for full name and email Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Codecov Report
@@ Coverage Diff @@
## master #90 +/- ##
============================================
- Coverage 36.71% 33.74% -2.98%
- Complexity 98 123 +25
============================================
Files 10 10
Lines 414 489 +75
============================================
+ Hits 152 165 +13
- Misses 262 324 +62
Continue to review full report at Codecov.
|
|
I can confirm that the code from this PR, together with a Nexcloud running at cdc48d301e3d4b8ad77e5e279f240ac1d441f252, works against our SAML IdP. |
|
i do have a problem with the current version - has nothing to do with the mapping stuff we are deploying the nextcloud services from saltstack, wrote all in occ commands, import (generated) json config for user_saml, .... this exact configuration worked for nextcloud-11 but not for current master with the user_saml:attributes-to-map-for nginx.conf: |
|
@rzmf Can you open a new issue on this and also include your SAML config as well as your system config? I suspect this is something that we can address with https://github.com/onelogin/php-saml#url-guessing-methods 😉 |
This adds support for mapping attributes for full name and email. Replaces #61.
One can also merge multiple values by using something like
urn:oid:2.5.4.42 urn:oid:2.5.4.4in the display name mapping. The spaces act as a separator here.Signed-off-by: Lukas Reschke lukas@statuscode.ch
Fixes #54 – at least the email and displayname part. Need to do some more considerations about groups.