# Login flow not running for custom social connector

**URL:** <https://community.auth0.com/t/login-flow-not-running-for-custom-social-connector/189794>\
**Category:** Get Help\
**Tags:** other, missing-category\
**Created:** [July 28, 2025, 10:11pm UTC](https://community.auth0.com/t/login-flow-not-running-for-custom-social-connector/189794 "2025-07-28T22:11:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomas.ernst](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thomas.ernst/32/71391_2.png) [@thomas.ernst](https://community.auth0.com/u/thomas.ernst)\
**Post date:** [July 28, 2025, 10:11pm UTC](https://community.auth0.com/t/login-flow-not-running-for-custom-social-connector/189794/1 "2025-07-28T22:11:11Z")

</div>

Hi there,

I created a custom social connector (OAuth2) and it seems it’s working as expected but I noticed an action I created and added to the post-login trigger is not running, no matter what I do. Is that a limitation? Is there a workaround? Am I doing something wrong and it should usually work?

Did anybody experience the same?

Thanks  
Thomas

---

<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:** [July 30, 2025, 6:40pm UTC](https://community.auth0.com/t/login-flow-not-running-for-custom-social-connector/189794/3 "2025-07-30T18:40:58Z")

</div>

Hi @thomas.ernst

Welcome to the Auth0 Community!

Reading through your issue, there shouldn’t be any limitations with regards to custom Social Connectors not working with Actions. I believe the issue might be in a different place, most likely with the Actions itself.

I would recommends checking the following:

- if the Action has been deployed; even though this might seem obvious, the Action might have been built, but not deployed;

- errors in the Action itself → there could be syntax issues that might fail or halt the Action from executing correctly; you might catch such issues by going to **Monitoring \> Logs** in your dashboard and searching for `actions_execution_failed` ( documentation for [Log Type Codes](https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes#:~:text=actions_execution_failed) ) or filter for Actions Executions Failed.

- please also try to add `console.log()` statements in your Action to track it’s execution, which can help pin-point where a potential fail occurs. I also recommend using the [Real-time Webtask Logs Extension](https://auth0.com/docs/customize/extensions/real-time-webtask-logs), running the Action and checking the extension for any issues.

- the Custom Social Connector might not be enabled for your Application, you can check in your Auth0 tenant → Applications → select the app you are using → Connections tab.

Looking forward to your update!  
Gerald

---

<div class="post-metadata">

**Author:** ![thomas.ernst](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thomas.ernst/32/71391_2.png) [@thomas.ernst](https://community.auth0.com/u/thomas.ernst)\
**Post date:** [July 30, 2025, 8:47pm UTC](https://community.auth0.com/t/login-flow-not-running-for-custom-social-connector/189794/4 "2025-07-30T20:47:39Z")

</div>

Hi @gerald.czifra,

Thanks for the suggestions but the problem is not the action. If I log into my app directly via Auth0 the post-login trigger runs and the action (which is just a console log for testing) runs perfectly. But if I use my custom social connector it does not trigger the post-login flow. The custom social connector does work though since it is creating a user in Auth0. The reason why I want to use the post-login trigger is because I want to restrict users from the social login to those that already exist in Auth0 and that have been properly set up with all permissions, roles etc. So the post-login flow would check if a user with the same email exists and then link both user records (the one I created and the other one that was created by the social connector).

To summarise:

- The custom social connector is working
- The action is working when the post-login flow runs
- The trigger for post-login is working for direct login but not for custom social connector login.

Any ideas?

Thanks  
Thomas
