Add connection
get social identity from provider
get sid to user relation
new identity
add email
lite conflict
save subscribtion
save consent
save profile
add lite id to user
social identity
update user view
aggregate user
login validation
update metadata (last login / isRegistered)
create session
Conflict
all good
save subscribtion
save consent
save profile
relate sid to new user
social identity
update user view
aggregate user
login validation
update metadata (last login / isRegistered)
create session
Existing user
save subscribtion
save consent
save profile
social identity
update user view
aggregate user
login validation
update metadata (last login / isRegistered)
create session
Social login
get social identity from provider
get sid to user relation
new identity
add email
lite conflict
save subscribtion
save consent
save profile
relate sid to existing lite user
social identity
update user view
aggregate user
login validation
update metadata (last login / isRegistered)
create session
Conflict
create conflict token
all good
create user
save subscribtion
save consent
save profile
relate sid to new user
social identity
update user view
aggregate user
login validation
update metadata (last login / isRegistered)
create session
Existing user
save subscribtion
save consent
save profile
social identity
update user view
aggregate user
login validation
update metadata (last login / isRegistered)
create session
Register
add email
lite conflict
save subscribtion
save consent
save profile
site identity
update user view
aggregate user
login validation
update metadata (last login / isRegistered)
create session
Conflict
create conflict token
all good
create user
save subscribtion
save consent
save profile
site identity
update user view
aggregate user
login validation
update metadata (last login / isRegistered)
create session
Lite registration
get lite id-> user relation
new user
add lite email
conflict
save subscribtion
save consent
save profile
relate lite id to existing user
lite identity
update user view
end
all good
create user
save subscribtion
save consent
save profile
relate lite id to new user
lite identity
update user view
end
Existing user
save subscribtion
save consent
save profile
lite identity
update user view
end
Set account info
active validation
add email
lite conflict
save subscribtion
save consent
save profile
add lite id to user
site identity
update user view
end
Conflict
fail
all good
save subscribtion
save consent
save profile
site identity
update user view
end
Remove connection
get social identity
remove user relation from email
remove user relation
update user view
end