Has /token json response changed?
-
Hello support folks,
I noticed that since upgrading the JWT Authentication for WP-API plugin from v1.2.6 to v1.3.2, the REACT frontend to our website is not getting the /wp-json/jwt-auth/v1/token json response content from our headless WP backend that it needs to authenticate a login attempt.
The JWT Authentication for WP-API plugin, version 1.2.6, returns this working/complete json response:
{ "token": "eyJ0eXAiOiJ...", "user_clientID: false, "user_display_name: "cgadmin", "user_email": "[email protected]", "user_isAdmin: true, "user_nicename": "cgadmin", "user_roles: ["administrator"] }
The JWT Authentication for WP-API plugin, version 1.3.2, returns this non-working/incomplete json response:
{ "token": "eyJ0eXAiOiJ...", "user_email": "[email protected]", "user_nicename": "cgadmin", "user_display_name": "cgadmin" }
Has a change been made to the plugin that would remove these json values? Please advise on what I need to know in order to return these values again in the json response.
WordPress Environment
WP: v6.1.1
PHP: v7.4Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Has /token json response changed?’ is closed to new replies.