Is it possible to trigger a SCIM updateUser by a user signing in

Hi all,

I searched the forum, but I did not find an answer to my question.

I would like to know if it is possible to trigger a SCIM updateUser by a user signing in using Okta
and to include the IP address of the sign-in as a user attribute?

The use case is to allow additional actions for that user if the request is from that IP address.

If it is possible, how often are user updates send via SCIM (instant/one per day) and what is the latency?

Thank you.

Hi @chp

Okta does not have this out of the box, however you can trigger an update user event in Okta on your end through event hooks. In short, if an event occurs in Okta, such as user.session.start (user log in), then Okta will send a request to your server with the event details, including IP address. From here, your server can update the user’s details through Okta API.

Hi @dragos,

Thank you much for your response. I will test that.