Skip to content

isAuthenticated() returns false even after successful athentication #3

Description

@sharp0111

I'm following through the "Securing your React App with Auth0" tutorial's section, and the method isAuthenticated() of the "auth0Client" instance always returns "false" even after successful authentication (getting back the object with the user's information). Weird thing is it works when I set the value of "this.expiresAt" greater than the "new Date().getTime()". The reason is that "authResult.expiresIn" comes back as "null" value from the Auth0 server.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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