Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Invalid request token for Social Login user identifier

    • Product: Alma

     

    Description

     

    We’re trying to link Twitter to Alma to allow our Special Borrowers to access the system.
    As per step #3 in the Configure Twitter to allow login to Alma Developer Network Article and using my own Twitter account, I was able to become a developer and created the API keys needed to complete the form.
    Now I can see the Social Login choices (i.e. sign in with FB, Google, Twitter).
    However, once I click "Sign in with Twitter", I get the following error message in my web browser:

    “Whoa there!
    The request token for this page is invalid. It may have already been used, or expired because it is too old. Please go back to the site or application that sent you here and try again; it was probably just a mistake.”


    This seems to indicate that oauth_token is null.
    What should the Call back URL be?

    Problem

    Customer was only using one Callback URL at a time:
    https://<YOUR_ALMA_DNS>/infra/socialLoginRedirect
    or
    https://<YOUR_PRIMO_DNS>/infra/socialLoginRedirect

    Resolution

    Adding both URLs together resolved the issue for Twitter and FaceBook.
    For example, there's the option to add additional Callback URLs in the Twitter app.
    Additionally it’s helpful to add a third address as well: 
    https://<CUSTOMER_CODE>.userservices.exlibrisgroup.com/infra/socialLoginRedirect

    • Was this article helpful?