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: