Extra data in jwt
-
Hi,
Thanks for this plugin. I want to add extra information to jwt.
I enabled and added hook but it’s not working.
if(function_exists('simple_jwt_login_jwt_payload_auth')){ add_action( 'simple_jwt_login_jwt_payload_auth', function($payload, $request){ $payload['name'] = 'joe doe'; return $payload; }, 10, 2); }
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Extra data in jwt’ is closed to new replies.