History: Hybridauth social login
Source of version: 17
Copy to clipboard
! Social Network Configuration The connection to the website through social networks uses the [https://hybridauth.github.io/documentation.html|Hybridaouth] library it allows the visitor, to quickly register on a site by letting their network provide information about themselves. The principle of operation is simple. When a user chooses a social network, he is sent to the server of the latter. There he is invited to enter his details. When they are validated, he is returned to the TIKI site on which he wanted to connect. !! Configuration steps To achieve this some data must be provided: First, choose your social network(s). To do this, go to __Settings __-> __Users & Community__ -> Social networks -> General tab or tiki-admin.php?page=socialnetworks#content_admin1-1 and make your choice(s) then validate. {img type="attId" fileId="106" attId="106" class="img-responsive rounded"} Secondly, still in "Configure social network integration", go to the Settings tab (tiki-admin.php?page=socialnetworks#content_admin1-2), your choices will be visible in well framed zones above. In each zone check the box __YourSocialNetwork login allowed ?__ by doing that a button leading to your site will be available on the login page but will not be functional. !!! Note In this document YourSocialNetwork represents the name of the social network of your choice. Thirdly, turn in each area click on the more/less button... {img type="attId" fileId="107" attId="107" class="img-responsive rounded"} You will have to complete different parameters. The mandatory fields are YourSocialNetwork Application ID and YourSocialNetwork Application secret. For a successful experience in Tiki, we advise you to check the boxes below. YourSocialNetwork auto-create user? YourSocialNetwork user prefix to auto-create YourSocialNetwork auto-create user email? YourSocialNetwork auto-create user tracker item? YourSocialNetwork auto-create user name(s)? {img type="attId" fileId="108" attId="108" class="img-responsive rounded"} !!! Note The field YourSocialNetwork user prefix to auto-create is filled with the initial of the network you have chosen. So the username will be the combination of the value in this field and a sequence of numbers that will be assigned to it. This will automatically create a user in Tiki that will be in the default register group. For this to work properly you would need to enable the User preferences screen option, you can find this by going to Settings -> User Settings tab -> User preferences screen (http:example.org/tiki-admin.php?page=user#contentadmin_user_setting-1). !! Some errors may be there {img type="attId" fileId="109" attId="109" class="img-responsive rounded"} TikiHybrid_construct : this site is not register with it means that you haven't insert the ID and the secret code of your Application yet. {img type="attId" fileId="110" attId="110" class="img-responsive rounded"} TikiHybrider error : A valid CallBack url is required means the path in the socnets Login Base Url field in Settings -> Users & Community -> Social networks -> Settings is not correct. Make sure to have in this field the value https://<your domain name> tiki-login_hybridauth.php?provider=