Skip to main content

Auth IP integration

What is it?

This integration allows you to automatically authenticate users coming from an specific IP or IP ranges.

How to configure it?

  1. Direct
  2. Proxy


For both direct and proxy methods the system requires the IP or IP ranges from where the users are expected to connect. In case you're using a proxy, you'll need to configure the IP of the proxy.

In the store:

  1. Go to Control Panel > Users
  2. Create a new user or select an existing one
  3. Set the IP or IP ranges using the option Assing IP ranges in the dropdown menu.


To add a unique IP you should add it in "From" and then press the "Assign" button, leaving "To" empty. In case you need to add an IP range, for example all IPs between to, you will setup From: - To: and any user coming from IPs in that range will be automatically logged in.

Automatic authentication:

  1. Create a button or Hyperlink.
  2. Set a route to log in the user. You can also use a publication page url or a specific filter.

As long as you are connecting from the configured IP Range, directly or using a proxy, you will be automatically authenticated when accessing the library section (/library), a publication page or even the reader.

You can always log out from that account. You will be redirected to the log in page and you will be able to sign in with a different account, like another user or an administrator account. You can automatically log in by IP again just by going back to /library.

On demand authentication, in the third party end:

This is a legacy method.

We will keep supporting this if you are already using it, but we encourage you to use the Automatic authentication

  1. Create a button or Hyperlink
  2. Set a route like link in the button
<a href="">Login User</a>
<button type="button" onclick="loginUser()">Login User</button>

function loginUser() {
return window.location.href = '';
  1. In case you need to redirect users to a specific URL inside store such as the publication page or a specific filter you may add the intended_url parameter to your URL.
<a href="">Login User</a>
<button type="button" onclick="loginUser()">Login User</button>

function loginUser() {
return window.location.href = '';


For proxies, first you need to configure the stanza.

You can read more information about stanza structure

HTTPMethod value is needed for a secure connection between proxy and our server and make sure that all works fine. This is because in some cases we need to use PUT request or other kind or request for get or set information.


Title Publicala Editions
HTTPHeader -request -process X-XSRF-TOKEN
HTTPHeader -request -process X-CSRF-TOKEN

then you need configure all steps for direct configuration. The difference here is the proxy only.


If your integration is not working properly it could be due to the following reasons:

  • Incorrect IP or IP range configured in the system
  • Users connecting from another IP or IP range other than the one configured in the system

In both cases users will be directed to the login form instead of bing automatically logged in. You can add to url query ?debug=true to know IP where come from these user.

When you use this URL you should see the follow screen show with date to know if the user are configured with correct IPs.