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 160 forks source link

401 Not authorized if you send a token with wordpress_logged_in_* in cookies #171

Closed clickdigitalinteractive closed 1 year ago

clickdigitalinteractive commented 5 years ago

I have latest version of plugin but running wp 4.8. I don't have the luxury to update wp to 5.0 right now due to multiple tests needed.

My current problem is our mobile app api calls get a 401 rest forbidden IF the user has wordpress_loggedin* in the cookies in the http request. A section of our mobile app has a in-app browser feature that logs user into wp but then when they exit the in-app browser they can't use the other sections of the app because of 401 response. We will be doing an app update to omit the cookie in the http header but I need a fix for current users without forcing an update. Any solutions?