Wednesday, 19 April 2017

What are some of the strategies or approach for managing Angular 2 session with timeout using node as backend

Let's consider web application using Angular 2 for UI and node server as backend. Let's say on node server we are implementing OAuth JWT token based authentication, which facilitates the Login and registration using Angular 2 UI.

Like any serious business application you would have some public pages that would not need a session (or login) and then there are those sections of pages which would require user to login.

What are some of the approach or strategy to manage session with configurable timeout for Angular 2 application?

How should we manage the idle session, how to detect user idle time and what are some of the strategies for architecting such requirements using Angular 2 and Node server at the backend.



via Anand Moghe

No comments:

Post a Comment