sile9t
sile9t
CC#
Created by sile9t on 9/15/2024 in #help
The good way to store user info
Thx a lot
28 replies
CC#
Created by sile9t on 9/15/2024 in #help
The good way to store user info
Sorry for that mess, english not my native language
28 replies
CC#
Created by sile9t on 9/15/2024 in #help
The good way to store user info
I wouldn't I guess.
28 replies
CC#
Created by sile9t on 9/15/2024 in #help
The good way to store user info
U can get all user info by it. Or that doesn't matter?
28 replies
CC#
Created by sile9t on 9/15/2024 in #help
The good way to store user info
Ok, is it safe to store user id in the token? I read that store sensitive info in the token is bad decision.
28 replies
CC#
Created by sile9t on 9/15/2024 in #help
The good way to store user info
Is it safe to receive user id?
28 replies
CC#
Created by sile9t on 9/15/2024 in #help
The good way to store user info
I already injected identity. I have auth service, where I have private User field and public method to get it from another service (I'm not sure, is it safe to do like that?), and controller. I have profile controller where I want to display all user details. User have to register before reserving an apartment.
28 replies
CC#
Created by sile9t on 9/15/2024 in #help
The good way to store user info
Man, I don't want to input guid id every time when I want to display my apartments, occupancies, my profile details and so on. Or there no way, and I have to receive the id to frontend by cookie or token, or inject it to the page?
28 replies
CC#
Created by sile9t on 9/15/2024 in #help
The good way to store user info
But what about case, when I want to display all user's apartments? I need to input user id to get all apartments which has 'owner' field (User type).
28 replies