thushanil
thushanil

Reputation: 1

Session management location in oauth enable web application?

What is the location of session management, if we are developing oauth service(Facebook/ gmail) enabled web application (angular/react)? Where should I maintain the user seesions in hosted server or oauth service?

because timeout period is already defined in the oauth initial response.(after passing login credentials)

Upvotes: 0

Views: 57

Answers (2)

Banuka Nayanajith
Banuka Nayanajith

Reputation: 33

OAuth is using local storage to store data what you need to save.It is useless for looking attribute in your server side.

Upvotes: 1

Nima habibkhoda
Nima habibkhoda

Reputation: 253

Session management is not correct here ,
javascript (react , angular and ... ) uses localStorage or IndexedDB to store variable in theme ,
if you need to handle this data as a state , so you have to use Redux in your project .
redux is state management that can handle your state in hole of your project

Upvotes: 0

Related Questions