The only way you can do this is by using Bagisto API or you can create your own customized API also.
So that if the user is logged in WordPress then Bagisto API is also called. Or even you can store the session cookie for session based authentication.