Unable to update based on identity

Hello,

I am working on an email based two step authentication flow and I have a Server Connect process that goes like this:

image

The idea is that you log in, SC generates a random string, stores it in user profile, emails to user, user enters and upon matching is logged in.

So in the DB update step, I’d like to update the user table with the randomly generated string by using the security identity to identify the user.

The update condition looks like this:
image

The Console XHR shows this:
image

SC is correctly retrieving the user ID. However, for some reason it’s not able to use it for the update query.

Has anyone run into this sort of thing before?

My guess is that your use of the same name “twofa” for a Security Provider and Set Value is a problem.

You’re 100% correct.

I changed the name of the Set Value step to make it unique.

Thank you @mebeingken.

1 Like