# Switching from GitHub auth to OAuth2

**URL:** <https://meta.discourse.org/t/switching-from-github-auth-to-oauth2/111218>\
**Category:** SSO\
**Tags:** oauth2\
**Created:** [10.Март.2019 18:05:21 UTC](https://meta.discourse.org/t/switching-from-github-auth-to-oauth2/111218 "2019-03-10T18:05:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [10.Март.2019 18:16:42 UTC](https://meta.discourse.org/t/switching-from-github-auth-to-oauth2/111218/2 "2019-03-10T18:16:42Z")

</div>

Have you enabled the “oauth2\_email\_verified” setting? If not, then Discourse won’t trust the email addresses from the OAuth provider, and will display the create account dialog instead.

---

_[View the full topic](https://meta.discourse.org/t/switching-from-github-auth-to-oauth2/111218)._
