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

Support for WordPress Multisite? #184

Closed Mulli closed 1 year ago

Mulli commented 4 years ago

I have a working version on single site.

The access to the main site in WP multisite is OK, but I get refusal on other sites in my WP multisite.

..."jwt_auth_bad_iss","message":"The iss do not match with this server" ...

I have chekced the user name & passwords – they are OK. Using: wp-api-jwt-auth version 1.2.6 and WordPress (multisite ) 5.3.2 Any help, idea is appreciated

Thanks

Richi2293 commented 4 years ago

Nobody answering? Is this plugin not maintained at all? (it seems to work for me, but it would be interesting to understand if can keep a nice project like this up to date)

contactjavas commented 4 years ago

Hi @Mulli , It seems like an issue with multisite. Maybe adjustment is needed on the $token->iss checking.

Hi @Richi2293 , this plugin is great and has a lot of install. I build jwt-auth based on this plugin to match my need and keeping it up to date.