Welcome.

BTW sorry, I missed to say that in order to use email to login you also have to add email field to configuration parameter named authentication.attributes.

HTH,
Andrea


Il 28/02/2018 15:55, HugoCerdeira ha scritto:
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/

--
Dott. Andrea Patricelli
Tel. +39 3204524292

Developer @ Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member

Reply via email to