After i few tries, and with all your help i think i got it. The external key always come to the script via the "username" variable, since its, probably, the way the connector is written, if i map the email as external id, i can access the email field of the user from the groovy script via the "username" variable. If i return the username AKA external key i get a valid authentication, just like intended. yay!
Thanks for all your help! Cheers, Hugo Cerdeira. -- Sent from: http://syncope-user.1051894.n5.nabble.com/
