Hi,
how do I properly handle the access token expiration. Currently I wrap all my requests in "updateToken":
LiveOak.auth.updateToken().success( function() { LiveOak.update(url, data, { success: ..., error: ... }); });
if I don't call updateToken, my requests fail if the token is expired. Why do LiveOak not handle this internally?
Best regards,
Artjom
It's certainly something we should look to handle within the LiveOak client.js
Could you raise a JIRA for it at LiveOak - JBoss Issue Tracker ?
Thanks
Ken