First of all - thanks for last Coronium updates. Scope permissions is killer-feature for me
So my question is about login flow (via email and password)
Consider following flow:
-
User enters data for registration, sending core.users.create
-
Now we have userId and can execute all operations using this Id
-
User close application and open it another day
I don’t want user to enter his password on every login, but saving userId in app data files seems a bit insecure for me.
The only solution I came up so far:
Store userId encrypted by some generic password like deviceId, so if someone will steal data files he can’t get userId.
Am i paranoid? Also I can store not userId, but generate sessionId for userId and check if session is active on api side