indieweb / wordpress-indieauth

IndieAuth for WordPress
https://wordpress.org/plugins/indieauth/
MIT License
29 stars 9 forks source link

Permission Error with Jetpack #265

Open ChaosExAnima opened 1 month ago

ChaosExAnima commented 1 month ago

It appears that there's a conflict with this plugin and the popular Jetpack plugin. When this plugin is activated, attempting to access the Jetpack dashboard results in a "You are not allowed to access this page" error, even as an admin.

Steps to reproduce (I used Studio for a clean site):

  1. Install IndieAuth and the Jetpack plugin.
  2. Activate Jetpack.
  3. Visit the Jetpack dashboard page, verifying no permission issues.
  4. Activate the IndieAuth plugin.
  5. Retry 3.

Expected: Jetpack dashboard is accessible. Actual: Jetpack dashboard shows WordPress error "Sorry, you are not allowed to access this page".

I took a quick look at the code, but wasn't able to spot anything that was obviously the culprit. There's nothing in the PHP logs either.

dshanske commented 3 weeks ago

@ChaosExAnima Will look into this. Don't use Jetpack myself, but assume it is our login code interfering with theirs. It shouldn't, but...

dshanske commented 3 weeks ago

@akirk Worried this may affect the same code you've been submitting PRs for.