Remote Tiki Autologin | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Limitations | |
|
Terms | |
To avoid confusion, we will be using the terms:
|
Configuration steps | |
On the Sub-Tiki | |
Optional
|
On the Main Tiki | |
|
SSL is strongly recommended | |
Very strongly recommended to use SSL encryption (i.e. HTTPS) for both servers, and also for the server-side backend connection between the two servers as secure tokens are being transmitted. |
System username and password | |
This is a user account that is used to connect server-side from the Tiki where users are autologging in from to the Tiki where they are autologging in to. The server side exchange retrieves a short-lived single-use token URL that the user is then redirected to to login automatically. |
System group | |
This is a group that is used to identify the validity of the token that users present upon autologging in. There should be no actual users placed in this group and this group should *not* inherit any permissions from any groups, i.e. it should simply have the basic Registered level of permissions. |
Groups syncing | |
The list of groups set here will be synced when users auto-login from the remote Tiki. For example, if you specify "Group A, Group B", and the user in the other Tiki is in only Group A but not Group B, when the user auto-logs in here, they will be placed in Group A and removed from Group B. |
User creation | |
Unless this preference is disabled, users that are attempting to autologin will have a new account created automatically if their user account does not not exist. The password is set to a random password. |
Setting up Content Authentication | |
or alternatively |
Setting up User Tracker Field Synchronization | |
When auto-logging in a user, you may want to also pass some fields from the Main Tiki's User Tracker to the Sub-Tiki. To do this, in Login > Remote Tiki Autologin:
|
Example Remote Tiki Autologin Page | |
|
User information | |
What is synced | |
Right now, the real name and email is synced from the Tiki from which users are auto logging in from. The feature could be expanded in future to sync other user information as well. |
User Tracker Synchronization | |
User Tracker Synchronization is not part of this feature. However, you can use Tracker Synchronization. |
Links to user profiles etc | |
In the future, there should be an option(s) to automatically convert links to things such as User Profile pages to point back to the Tiki from which users are auto logging in from. Note to developers: This should be achievable by checking if the feature is active and changing links to use $_SESSION['autologin_baseurl'] if activated. This session variable is set as part of the token exchange autologging process. You cannot simply use a hardcoded domain as the domain might not be exactly the same depending on where the user logged in from, e.g. othertiki.com and www.othertiki.com would be different and the user is typically not logged on to both simultaneously. |