how to check if user is authenticated with passport (get user from token using laravel-passport)
I am using Passport to log in users to a Laravel API endpoint, users get authenticated using their social accounts (google, facebook) using laravel-socialite package. the workflow of logging users in and out works perfectly (generating tokens...Etc). The problem is…