Content
@
0 reply
0 recast
0 reaction
max
@maxmandia
if auth is being managed externally, do you still have a user’s table in your database?
5 replies
0 recast
1 reaction
Antoine
@antoinedc
If you don't, that means an external api request everytime you need to get user info, this will probably slow down your app considerably
1 reply
0 recast
2 reactions
Johnson
@johnson
Alternatively u can handover the user data over the session tokens right. Like how jwt works. Ofc this works only if u need minimal user data for ur apps.
1 reply
0 recast
0 reaction
Antoine
@antoinedc
Yeah I guess you could do that. I'd be afraid it would become inconvenient to pass it everywhere when the app grows and you add layers of abstraction in your code though. To me, the best way is to store user data in your own db and only interact with the external service to validate signup/signin
0 reply
0 recast
2 reactions