Post registration action not triggering

my post-registration flow consists of two actions:
First:

const axios = require("axios");

exports.onExecutePostUserRegistration = async (event) => {
  console.log("Post registration " + event.user.user_id) ;
  const data = {
    email_verified: event.user.email_verified,
    auth0_user_id: event.user.user_id,
  } ;
  const res = await axios.post(
    "<our user management api>",
    data,
    { headers: headers },
  ) ;
  console.log(res.status) ;
};

Second

exports.onExecutePostUserRegistration = async (event) => {
    // No-op, retained for easy reinstatment, if the WIP change requires reverting.
}

Although this all worked ~ 1 week ago, as of yesterday;

  • no logs appear in the realtime webtask
  • no request is received by our api.

I then completely commented out the second event in the flow. Suddenly the first event was firing, logs appearing, and request hitting our API.

Then after reinstating the no-op action, logs are still appearing and the action is functioning as expected.
Was there a release on Atuh0’s side that could have affected this flow?

Also for some reason I can’t select any sensible tags for this post, but just have a subset of irrelevant ones offered:
Screenshot 2024-01-30 at 02.48.04

Hi @duncan.browne

Welcome to the Auth0 Community!

Thank you for bringing attention to your issue. There was no particular release on our side that should affect your flow. I’m glad that reinstalling the action fixed your problem, and I hope it won’t happen again. Please notify us if you discover that this issue recurs, and if that’s possible, try to note steps to reproduce this issue. Thank you for being part of our community! :smiley:

Thanks
Dawid

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