wordpress icon indicating copy to clipboard operation
wordpress copied to clipboard

Most configuration items cannot be edited.

Open Koki-1205-git opened this issue 10 months ago • 7 comments

Checklist

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

Description

When activated, most of the items cannot be edited and the configuration cannot proceed.

Image

Reproduction

Activate plugin

Additional context

No response

wp-auth0 version

5.2.1

WordPress version

6.7.2

PHP version

8.2.22

Koki-1205-git avatar Mar 06 '25 04:03 Koki-1205-git

Have you added your client id, client secret and domain? these settings have to be added before enabling the rest of the plugin

jmossuow avatar Mar 25 '25 01:03 jmossuow

Have you added your client id, client secret and domain? these settings have to be added before enabling the rest of the plugin

@jmossuow

I had saved it but could not edit it.

I installed the plugin again using composer and the directory was set up in “plugins/vender/auth0/wordpress”.

I cannot activate the plugin in this state. To activate it, should I move the vender/auth0/wordpress directory, etc. to the plugins directory...?

It may be possible that the error occurred because I failed to change this directory, etc. last time.

Koki-1205-git avatar Mar 25 '25 07:03 Koki-1205-git

@Koki-1205-git

if you were able to get into the plugin settings last time as your screenshot shows then you should have been fine as those settings would have not shown up unless the plugin was enabled. The fact that everything is greyed out tells me that the client id, client secret and domain were either not added or you had forgot to switch the plugin to enabled on the first page at the top of options in the plugin settings.

Image

jmossuow avatar Mar 25 '25 22:03 jmossuow

@jmossuow I definitely remember editing where I could operate.

I would like to recreate the past situation, but I am unable to activate the plugin.

This is because using composer creates a vender directory and wordpress does not recognize it as a plugin.

Could you please tell me how to solve this problem...?

Koki-1205-git avatar Mar 26 '25 02:03 Koki-1205-git

@Koki-1205-git Please keep the plugin files in wp-content/plugins folder it will start showing up in the GUI.

kishore7snehil avatar Apr 02 '25 05:04 kishore7snehil

@kishore7snehil @jmossuow

I was able to activate the plugin by following the steps below.

  1. upload the zip from the wordpress admin panel Upload the zip file from the wordpress admin page
  2. run “composer require symfony/http-client nyholm/psr7 auth0/wordpress:^5.0” in the plugins directory Move the created “plugins/vender” folder directly under the plugin folder

The image shows the configuration screen of the activated plugin. As shown in the image, the domain and client ID are saved, but other items cannot be edited.

Image

Koki-1205-git avatar Apr 02 '25 06:04 Koki-1205-git

@Koki-1205-git Was this issue resolved as I am still not able to replicate this?

kishore7snehil avatar Jun 05 '25 16:06 kishore7snehil

Closing due to inactivity. Please feel free to re-open this issue or create a new one going forward.

kishore7snehil avatar Jul 02 '25 16:07 kishore7snehil