As seen here, there are no user changes persisted before setting the UserSecret and UserLogin here. With the current store implementations, such a behavior won't work as RavenUserSecretStore and RavenUserLoginStore relies on the existence of RavenUser.
However, UserLogin instance needs the user id which is not there yet. How does this even work?
This's from
IdentityStoreManager
'sCreateLocalUser
method:As seen here, there are no user changes persisted before setting the
UserSecret
andUserLogin
here. With the current store implementations, such a behavior won't work asRavenUserSecretStore
andRavenUserLoginStore
relies on the existence ofRavenUser
.However,
UserLogin
instance needs the user id which is not there yet. How does this even work?