moodle-saml / auth

Moodle SAML Auth plugin
https://moodle.org/plugins/auth_saml
3 stars 21 forks source link

Support custom fields #6

Closed mfprimo closed 3 years ago

mfprimo commented 8 years ago

Added support custom fields, as in the Shibboleth plugin

pitbulk commented 7 years ago

@mfprimo

Custom fields are now supported, I'm not sure about the "Decode URL passed in querystring" part. Are we 100% sure that the value on $_REQUEST['wantsurl'] is encoded?

mfprimo commented 7 years ago

Hi Sixto, I'm not able to replicate the issue I experienced, but: auth.php, line 137: $samlurl = $CFG->wwwroot.'/auth/saml/index.php?wantsurl=' . urlencode($SESSION->wantsurl); login.php, line 13: $samlUrl = $samlUrl . "?wantsurl=" . urlencode($SESSION->wantsurl);