Custom Email Provider trigger

Hello community. I’m a newbie with Auth0. I use Free edition for this time. 22 day trial period ended. Every thing I do I do it for my first time. Sometime I would like to go back from where I started but I cannot.

My question is about Custom Email Provider trigger. Before I implemented SMTP server I deployed Custom Email Provider. I would like to delete it (or undeployed) it. So I am back from where I started.

Every time I try to delete Custom Email Provider from the library it says: Error! Unable to delete an action bound to a trigger.

Where I am able to find the trigger “Custom Email Provider” and un deploy Custom Email Provider from there.

I appreciate assistance or reference where to read about it.

Hi @vladkh

Welcome to the Auth0 Community!

We are glad to have you and hope that Auth0 will serve as a great tool for you! The error that you encounter, of an Action being bound to a Trigger, means that the Action that you are trying to delete is active/deployed in your current Action Flow.

Attaching the following as an example of an Action, a full list of them can be found in your tenant under Actions → Library. You can see next to the name of the action ( Error Massage in this case ) the Trigger in which it is being used ( Login/Post Login in this case). Assume we cannot delete this Action - to solve it, we need to open the Post-Login Trigger and remove the Action from the flow.

Navigate to Actions → Triggers → post-login. Here you will find the post-login flow where you have all the Active Actions. You will need to click on the trigger → remove ( bottom right ) → click Apply. After this, you can go back to the Library, search for the Action and complete it’s deletion.

Allow me to share some useful documentations that should help you get a better grasp of Actions :

Hope this helps and please do not hesitate to reach out to us for any other issues or questions! Keep exploring! :rocket:

Have a great one,
Gerald

Thank you very much Gerald.

Here are Actions from my Library

I cannot find the Trigger named Custom Email Provider. That is the core of my question.

I’m trying to rid off Custom Email Provider action. I’m not able.

Hi @vladkh

I see what you mean and how this not intuitive, allow me to outline the steps:

  • disable your Custom Email provider under Branding;
  • access the Delete Provider endpoint on the Management API, then set the API token to authorize the application and run " Test Endpoint";
  • once your receive a 204 response, go back to your tenant in Actions → Library, locate your Custom Email Provider Action and try deleting it again.

I’ve tested this a couple of times and it seems to be the way of fully removing a Custom Email Provider Action from your Library.

Let me know if this worked for you!

Best regards,
Gerald

Thank you Gerald,

I needed to study some theory, be familiar with terminology etc.

Finally I tried to access Delete Provider endpoint and had issues with setting up the API token to authorize the applicaiton.

I use Free edition.

Is that authorization available only in Enterprize edition?

Thank you

VK.