How get ID User JWT Authentication for WP REST API
Solution: https://github.com/Tmeister/wp-api-jwt-auth/issues/153
in /plugins/jwt-authentication-for-wp-rest-api/class-jwt-auth-public.php
$data = array(
‘token’ => $token,
‘user_email’ => $user->data->user_email,
‘user_nicename’ => $user->data->user_nicename,
‘user_display_name’ => $user->data->display_name,
//add this
‘user_id’ => $user->data->ID,
);