# How to intercept the user created by SSO

**URL:** <https://community.auth0.com/t/how-to-intercept-the-user-created-by-sso/187253>\
**Category:** Get Help\
**Tags:** identifier-first, login-experience\
**Created:** [May 27, 2025, 8:36pm UTC](https://community.auth0.com/t/how-to-intercept-the-user-created-by-sso/187253 "2025-05-27T20:36:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiago.fonseca\_contr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thiago.fonseca_contr/32/74999_2.png) [@thiago.fonseca\_contr](https://community.auth0.com/u/thiago.fonseca_contr)\
**Post date:** [May 27, 2025, 8:36pm UTC](https://community.auth0.com/t/how-to-intercept-the-user-created-by-sso/187253/1 "2025-05-27T20:36:09Z")

</div>

I’m using the QBO Social connection. When a user clicks the button, Auth0 successfully creates the user. However, I currently don’t have a mechanism in place to intercept this event and associate the newly created user with the specific company they belong to.

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [May 30, 2025, 7:24pm UTC](https://community.auth0.com/t/how-to-intercept-the-user-created-by-sso/187253/4 "2025-05-30T19:24:57Z")

</div>

Hi @thiago.fonseca_contr

Thank you for reaching out to us!  
Depending on the intended use-case, you could create a [Post-User Registration Action](https://auth0.com/docs/customize/actions/explore-triggers/signup-and-login-triggers/post-user-registration-trigger), which after a user is added to a Database. You can write the Action and use either `event.connection.strategy` or `event.connection.name` properties to create custom logic for the users that come from the specific Social Connection. This way you could, for example, add to the user’s app\_metadata some company-related information by which you can then distinguish the users.

Hope that helped!  
Gerald

---

<div class="post-metadata">

**Author:** ![thiago.fonseca\_contr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thiago.fonseca_contr/32/74999_2.png) [@thiago.fonseca\_contr](https://community.auth0.com/u/thiago.fonseca_contr)\
**Post date:** [May 30, 2025, 8:40pm UTC](https://community.auth0.com/t/how-to-intercept-the-user-created-by-sso/187253/5 "2025-05-30T20:40:04Z")

</div>

But I don’t have any event triggered when the QBO Social login creates the user. I’d like intercept this event, such as a pre-request but working with Enterprise/SSO Login

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 13, 2025, 8:40pm UTC](https://community.auth0.com/t/how-to-intercept-the-user-created-by-sso/187253/6 "2025-06-13T20:40:11Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
