I would like to add google and facebook login in my react-native app. So when the user logins with google through the webview he should receive a json web token to perform further requests to my backend.
In nodejs I am using passaportjs to login with google and facebook.
How can I get the json web token using react-native-webview? Is there a better way to do this using another package? Obs: I am using expo