Skip to content

Auth0 Version 5.2.1 plugin causes the "The link you followed has expired." issue. #913

Open
@benjyhuub

Description

@benjyhuub

Checklist

  • I have looked into the Readme and the documentation, and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

I'm having an issue with my WordPress after I activated the plugin
The issue was "The link you followed has expired." upon deleting a page, saving a post, and activating/deactivating the plugin.

  • The issue only occurs when the Auth0 plugin is installed.
  • The previous version of the Auth0 v4 plugin works with no issues.
  • No other plugins are activated in WordPress.
  • No other themes other than the default one (twentytwenty four) is activated.

I can authenticate with no issues at all. The problem arises when I delete a page or activate/deactivate a plugin.
The issue only happens when the Auth0 plugin is installed, and everything works fine without the plugin.

Similar issues have been reported on the Auth0 Community site.
WordPress Sessions Breaking After Auth0 Installation
https://community.auth0.com/t/wordpress-sessions-breaking-after-auth0-installation/135250

This link above leads to a couple of GitHub issues that could be related to this issue as well.
Auth0 is breaking sessions (cache or cookies) #901
#901

v5.2 nonce/cookie issue causing repeated logouts #895
#895

Reproduction

  1. Install Auth0 v5
  2. Activate plugin
  3. Enter Application Configuration details
  4. Save
  5. Enable Authentication
  6. Delete a page

Additional context

No response

wp-auth0 version

v5.2.1

WordPress version

6.6.1

PHP version

8.1.29

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