Identity-login function not triggered on login

I have a simple test function that I’ve named identity-login.js and saved in the same folder as the rest of my working serverless functions. All it does is:

exports.handler = async (event, context) => {
    console.log(event)
    return {
        statusCode: 200
    }
}

According to the docs, this function should be triggered just by naming it identity-login.js. But nothing gets logged either locally using netlify dev or when I deploy to netlify.

Site name: infallible-lovelace-0ea6df
Function name: identity-login

Weird…so it now seems to be logging the event, but ONLY once deployed to netlify. Do identity event triggered functions not work with netlify dev?

hey there @sudoshuff - any progress on this? i don’t have an answer for you right this second, but did want to let you know we havent forgotten about you. I’m hoping to get some other :eyes: on this soon if the issue still persists.