Send email if user logged in from another device

Hello everyone.

Is there a default configuration that sends an email if a user has logged in from another IP?
Any resource to implement something like this?

Hi @ciscode,

Welcome to the Community!

There isn’t a default feature for this, but you should be able to build this out using Actions.

You can use a pre-registration action to add the initial IP address to the user’s app_metadata.

Then in a post-login action, you can check that the IP in the user’s app_metadata matches the IP from the login event. If it doesn’t send your email notification.

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