# Detect if custom social in post login action

**URL:** <https://community.auth0.com/t/detect-if-custom-social-in-post-login-action/124646>\
**Category:** Get Help\
**Tags:** custom-social-connections-branding, connections\
**Created:** [January 11, 2024, 1:35pm UTC](https://community.auth0.com/t/detect-if-custom-social-in-post-login-action/124646 "2024-01-11T13:35:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![frank.wisniewski](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/frank.wisniewski/32/51747_2.png) [@frank.wisniewski](https://community.auth0.com/u/frank.wisniewski)\
**Post date:** [January 11, 2024, 1:35pm UTC](https://community.auth0.com/t/detect-if-custom-social-in-post-login-action/124646/1 "2024-01-11T13:35:16Z")

</div>

Hi,

I am trying to determine in a post login action if the user is using a custom social connection so I can do something different with them. Is there anything on the that will tell me the login source. We only have the standard database and our custom social as login options.

Thanks

---

<div class="post-metadata">

**Author:** ![frank.wisniewski](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/frank.wisniewski/32/51747_2.png) [@frank.wisniewski](https://community.auth0.com/u/frank.wisniewski)\
**Post date:** [January 11, 2024, 3:48pm UTC](https://community.auth0.com/t/detect-if-custom-social-in-post-login-action/124646/2 "2024-01-11T15:48:56Z")

</div>

Actually I figured it out. In case anyone else needs to know:

```auto
event.connection.name

```

This will contain the name of the custom social 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:** [January 25, 2024, 3:49pm UTC](https://community.auth0.com/t/detect-if-custom-social-in-post-login-action/124646/3 "2024-01-25T15:49:12Z")

</div>

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