Skip to content

withMiddlewareAuthRequired doesn't check if access token has expired #1723

Closed
@jln13x

Description

@jln13x

Checklist

Description

The withMiddlewareAuthRequired doesn't seem to check if the access token is actually still valid

Reproduction

  • Add Middleware
  • Wait for Token to expire
  • Still have access

Additional context

No response

nextjs-auth0 version

3.5.0

Next.js version

14.1.3

Node.js version

v20.11.1

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