Skip to content

user.authenticated not working properly #6

@JobaDiniz

Description

@JobaDiniz

I think user.authenticated is not working properly, not sure thou, could be something else.
When I logged in in my app and close the tab and after some time, like several hours (maybe days, not sure), I open my app again (without closing the browser), the user.get and oauth.connection.search (to ge the facebook image) fails with:

{"error_code":"INVALID_CREDENTIALS","message":"Unable to authenticate as user. Provided token does not exist."}

The user appears to be logged (it can access logged pages) but the app does not work because the login token is not there, so he actually is not logged at all (I think this is what happening, not sure thou).

But then I hit F5 to reload the page or click in other link which the user must be logged, the user is redirected to Login page, and after log in everything works.

PS: I not using the version with the heartbeat disabled yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions