Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

How to invalidate ember session on user inactivity

$
0
0

@stephennyu wrote:

Hi there,

Currently I am trying to develop an ember application utilizing the library Ember Simple Auth with JWT authentication method. Right now, I have managed to do the login authentication and logout session invalidation. However, everytime I close my browser or turning off my ember server, my application seems to be still authenticated.

How can I detect user inactivity and set a timeout as well as calling the invalidate session once the timeout has been reached ?

Thank you

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles