Transmettre "Location" et "Web Site" via SSO ?

I’ve been a’searchin’ but can’t find an answer to this question.

Is it possible to pass values to Discourse’s “Location” and “Web Site” fields in users’ profiles using SSO? Didn’t see those specific ones in the list of accessors.

Thanks!

Anybody?.. :face_with_raised_eyebrow:

No, you can only pass the fields that are in the accessors list at the top of single_sign_on.rb: https://github.com/discourse/discourse/blob/master/lib/single_sign_on.rb#L2.

Thanks @simon! Just as I thought. I don’t suppose these could be added to the accessors? I guess I’ll use custom user fields in the meantime, just seems silly to use custom fields for these as they already exist in Discourse.

Comment passer des champs utilisateur personnalisés ? J’essaie de les transmettre avec les éléments de la liste des accesseurs, mais cela ne fonctionne pas.