# OAuth in einen nur auf Einladung zugänglichen Ablauf integrieren

**URL:** <https://meta.discourse.org/t/integrate-oauth-with-an-invite-only-flow/98841>\
**Category:** Development\
**Created:** [5. Oktober 2018 um 19:04 UTC](https://meta.discourse.org/t/integrate-oauth-with-an-invite-only-flow/98841 "2018-10-05T19:04:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Daniel\_Lopes](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daniel_lopes/32/374589_2.png) [@Daniel\_Lopes](https://meta.discourse.org/u/Daniel_Lopes)\
**Post date:** [8. Oktober 2018 um 20:09 UTC](https://meta.discourse.org/t/integrate-oauth-with-an-invite-only-flow/98841/4 "2018-10-08T20:09:13Z")

</div>

Hi @blake, thanks for the reply.

I changed course a bit and what I’m working right now is to create if they don’t exist yet using the after\_authenticate hook of the third-party Authenticator I wrote. Do you think that’s a bad idea?

Also, one of my challenges now is to figure out what to do when the user changes their email on Know Your Company or Discourse the databases end-up out of sync on the email address.

---

_[View the full topic](https://meta.discourse.org/t/integrate-oauth-with-an-invite-only-flow/98841)._
