I am using Laravel's JWT plugin for user login/authentication. This works fine for my users table: when he specifically registers into my website, entering a password, email etc.
In the jwt, i am checking for email(which is unique) and password.
I would like to also implement the Laravel's socialite plugin, to enable login using google/facebook etc, using oauth2 .
Could anybody tell me how to use both ?
I have set an authentication middleware , that checks for the authentication token(generated by JWT plugin). But I am not sure how that will work if I login using g+ etc