Tmeister / wp-api-jwt-auth

A simple plugin to add JSON Web Token (JWT) Authentication to WP REST API
GNU General Public License v2.0
558 stars 161 forks source link

v1.3.4 of the Plugin doesn't work with Visual Composer Page builder #306

Open wloburak opened 3 months ago

wloburak commented 3 months ago

Plugin doesn't work with Visual Composer Page builder

Context

One of my websites have Visual Composer(https://visualcomposer.com/) as a page builder and when jwt plugin is enabled, I can't edit the pages and see the following error: image

It only happens with the latest version of the plugin, v1.3.3 works fine. I did some digging and the reason is probably react conflict since your plugin setting page uses react and Visual Composer does too. This is the line of code that causing it image

Since older version of the plugin works fine, I didn't dig further. Ler me know if you need more info on it.