openid userinfo endpoints need Authorization header
It seems that mod_perl does not get Authorization Header, so userinfo rest call get rejected. This patch in _example/etc/portal-apache2.4.conf fixes that :
[root@srv7 lemonldap-ng]# diff -c portal-apache2.4.conf portal-apache2.4-orig.conf
*** portal-apache2.4.conf 2016-02-23 17:07:53.210012727 +0100
--- portal-apache2.4-orig.conf 2016-02-23 17:08:36.950013268 +0100
***************
*** 68,75 ****
# OpenID Connect Issuer
<IfModule mod_rewrite.c>
RewriteEngine On
- RewriteCond %{HTTP:Authorization} .
- RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^/oauth2/.* /index.pl
RewriteRule ^/.well-known/openid-configuration$ /openid-configuration.pl
</IfModule>
--- 68,73 ----