Identify User
Decode the JWT stored by the frontend to retrieve the user UUID:
const token = localStorage.getItem('secure_token');const payload = JSON.parse(atob(token.split('.')[1]));console.log(payload.user_id);Alternatively read current_user_id from Local Storage.