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

User2 gets User1’s token? #258

Closed afrascona closed 1 year ago

afrascona commented 1 year ago

The plug-in seems to only generate 1 token. I make a user1 and call the generate endpoint with their credentials, and I get a token. But I then make a second user, and call the generate endpoint with their credentials, and I get user1’s token? Maybe I’m doing something wrong. Thank you sincerely for the plug-in, and I look forward to your assistance.

afrascona commented 1 year ago

Of course. My mistake. Sorry to bother you. Terrific plug-in thank you for it!