$event_dispatcher = \Drupal::service('event_dispatcher') $event = new SocialLoginUserCreatedEvent ($user, $data) Dispatches SocialLoginUserCreatedEvent event. Social Login will first create the user account in your Drupal database and then triggerĪn event that includes the created account as well as the used social network profile data. This event is triggered whenever a new user registers using a social network account. To implement your custom processing, we recommend that you first install ourĪnd then adapt that extension to your needs. Social Login dispatches the following events that can per example be used to store additional social network profileĭata in your own database. Please login to your OneAll account, select a Site and click on Social Networks. It has to be done only once for each provider and we will guide you through this process. This process is straightforward and takes only a couple of minutes. To be able to use the plugin, you must therefore register your website. Please note that many social networks require that the webmasters register their website before being able to use their services. Select the social networks that you would like to use by ticking the corresponding checkboxes in your Drupal administration area. To obtain your API credentials, please login to your OneAll accountĪnd open the page Site Settings \ API Settings & Credentials of a Site.įill out the API credentials in the Drupal administration area and click on the Verify API Settings button.Ī green success message will be displayed if your credentials are correct. Your firewall must allow outbound requests (from your server to the OneAll API server) on either port 80 or 443. Login to your Drupal administration area and navigate to Configuration \ OneAll Social Login.Ĭlick on the Autodetect communications settings button.Ī green success message will be displayed if your server is able to communicate with the OneAll API. Navigate to Manage \ Extend, search for OneAll, tick the OneAll Social Login checkboxĢ. Then click on Browse, select the previously downloaded file and click on Install Search for Update Manager and make sure that the module is installed and enabled.įirst navigate to Manage \ Reports \ Available updates and click on + Install new module or theme. Login to your Drupal administration area and open the Manage \ Extend panel. Please read our instructions carefullyĬlick on the button below to download the extension:ĭownload Social Login for Drupal 9 b. The installation is not very complicated and should only take a couple of minutes. , StackExchange, Windows Live, Pinterest, Instagram, Disqus, Blogger,, , VKontakte,. Having to remember another username/password combination.ģ5+ Social Networks Supported: Facebook, Google, Twitter, Instagram, LinkedIn, Yahoo, PayPal, Foursquare, OpenID, LiveJournal, Steam, Your existing users can furthermore link their account to one or more social networks and can then use these social network accounts to login without Permission-based social data retrieved from the social network profiles. It helps increasing your Drupal user registration rate by simplifying the registration process for new users and provides This Drupal 9 extension seamlessly integrates with your existing registration system so that you and your users don't have to start from scratch. With one click using their social networks accounts. Thanks.Social Login is a free Drupal extension that allows your users to login and register I'm making a custom theme and module if that helps. Notice: Undefined index: function in Drupal\Core\Database\Log->findCaller() (line 154 of /app/core/lib/Drupal/Core/Database/Log.php). The watchdog log messages just say a session has been started by a user and I've cleared cache, cleared cookies, tried different browsers, but nothing seems to work. Normally, when I actually log into an account, the console on the browser under network shows a 303 which redirects, but when I cannot login, that request is not present. I tried doing stack traces using debug_print_backtrace() in the UserLoginForm.php located in core/modules/user/src/form but my computer just freezes. After nuking my local repo a couple times, I found out that if I put in the wrong username and/or password or if I log in and out a bunch of times, I will not be able to sign in to any other account. I can get to the admin page by doing drush user-login but if I log out of admin and try logging in again, the login page just refreshes and I do not get signed into the account no errors messages, even if I put in an incorrect username and/or password. I cannot login into any account from the login page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |