https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
c

cool-carpenter-11823

01/18/2022, 2:13 PM
Hello guys! I'm currently investigating, but I'd like to ask here as well, is it possible to detect the very first login by an user after signing up only from the client side?
a

able-glass-7253

01/18/2022, 4:57 PM
Hi Luz, this could be solved by adding a trait named e.g.
isNewUser
that is false by default and updated by the UI when appropriate. See https://www.ory.sh/kratos/docs/concepts/identity-user-model/
c

cool-carpenter-11823

01/18/2022, 4:57 PM
Yep, that is the alternative I figured, thank you!