So fügen Sie die Schaltfläche "Social Login" Google hinzu

$('#google-button').on('click', function() {
  // Initialize with your OAuth.io app public key
  OAuth.initialize('TMRAkcJl9nNercaeP5tFhqPMSLA');
  // Use popup for OAuth
  OAuth.popup('google').then(google => {
    console.log(google);
    // Retrieves user data from oauth provider
    console.log(google.me());
  });
})
AllnPro omumpembe