Configure social login with Twitter
The following steps are required in order to allow social login in Alma using Twitter.
Note that with Twitter, unlike Facebook and Google, users will need to enter their Twitter’s username and password when they log in to Alma even if they have logged into Twitter before that. Twitter explain: “Re-authorization allows a user to make a more informed decision about the access an application has requested.”
Configure Twitter to allow login to Alma
- Create a Twitter account for the library. The account will be used for defining the application on the institution’s behalf.
- Connect to Twitter’ Apps Console with the library’s account.
- Create an application for allowing social login. (Details can be found in this blog post but keep in mind that Twitter has made significant changes since this blog was written). Make sure to set the Access Level to read-only and in Callback URL type your Alma URL (with Twitter it doesn’t matter exactly which URL you configure).
Twitter’s new version isn’t supported by Alma, so after generating a key, you will need to generate afterward again from the top of the screen, at the section below “Consumer Keys”, as the key from there will work with Alma. - From the created app, copy the Consumer Key and secret.
Configure and enable social login in Alma
A new “Social Login” integration profile should be defined in general configuration – Integration Profiles. You should define such a profile for each social network provider your institution would like to allow logging in with.
Following is an explanation of each field of the profile:
- System: select Twitter.
- App ID, App Secret: enter the credentials which were supplied by the social network provider (step 4 above).
- Self-registration section: set to Active if your institution allows self-registration of patrons from Primo: Alma will create a user for an unregistered user logging into Primo with social authentication. The user will be created with a patron role, and the other defaults defined in this section (user group, Resource sharing library, and statistical category).