Should the email address of a new user be included in the webhook?

Continuing the discussion from Testing the new-user webhook?:

I too would like the email in the webhook. I understand the desire for privacy, but this is a forum I manage, and I can be much more effective if I can send the email to our SaaS for validation, and auto-apply the right Groups if we have a match.

I can’t use SSO because there are people in our forum who do not have an account in our SaaS, and despite the “sign in via sso” option we offer, we regularly have users signup with email/password. Getting that email in automated fashion allows me to automate more.

Including the email in the webhook payload doesn’t tell me anything I can’t find out on my own, and does allow more functionality.

4 Likes

I agree that at the time of signup including email is fine. Cc @tgxworld

1 Like

Implemented in

https://github.com/discourse/discourse/commit/7c179661710b882f87f1659993d4e6a5886e9976

6 Likes