# Single signon and email change

**URL:** <https://meta.discourse.org/t/single-signon-and-email-change/63429>\
**Category:** Product Support\
**Created:** [26. Mai 2017 um 09:42 UTC](https://meta.discourse.org/t/single-signon-and-email-change/63429 "2017-05-26T09:42:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [26. Mai 2017 um 10:01 UTC](https://meta.discourse.org/t/single-signon-and-email-change/63429/2 "2017-05-26T10:01:32Z")

</div>

Once the user logs in to Discourse again, the e-mail address will be re-synced. As the help text for `sso overrides email` says:

> Overrides local email with external site email from SSO payload **on every login**

(Emphasis added)

If you want to see the change immediately reflected in Discourse, you’ll need to have your Drupal site make an API call into Discourse to update the user’s details (which, now I think about it, might not work with `sso overrides email`… you’ll need to test that). This is necessary because Discourse isn’t constantly pinging the SSO provider saying “hey, what’s the e-mail for this user _now_? How about _now_? Aaaaaand… _now_?”, so the only time Discourse gets told that the e-mail address has changed (absent the sort of API call I suggested above) is when the user logs in and the SSO provider gives Discourse the bundle of user data to use.

---

_[View the full topic](https://meta.discourse.org/t/single-signon-and-email-change/63429)._
