onelogin / drupal-saml

MIT License
14 stars 17 forks source link

Error oneloginsamlauth() on drupal module onelogin_saml version 2.2.0 #18

Closed biskandar closed 9 years ago

biskandar commented 9 years ago

I just installed onelogin_saml with version 2.2.0 from github , and i have setup the "IdP Entity Id" , "Single Sign On Service Url" , "Single Log Out Service Url" , and "X.509 Certificate" correctly from my onelogin's drupal app account.

But when it arrived to drupal site that came from onelogin's drupal app, it shown an error page on drupal home page, said that : Notice: Undefined variable: email in oneloginsamlauth() (line 103 of /opt/ec2-user/drupal-7.sites/all/modules/oneloginsaml/functions.php). Notice: Undefined variable: email in oneloginsamlauth() (line 204 of /opt/ec2-user/drupal-7.sites/all/modules/oneloginsaml/functions.php). User '' not found.

pitbulk commented 9 years ago

Thanks for report that, I will fix it asap.