---
title: 'Login with token'
url: 'https://documentation.netstorming.net/single-sign-on/login-with-token'
markdown: 'https://documentation.netstorming.net/single-sign-on/login-with-token.md'
date: '2026-11-10'
description: 'Login with token You can use the token obtained from the authentication web service to authenticate an user into a TOWeRS system. In order to do so, you have to redirect the user to the following url: https://<system url goes here>/login/sso.php?token=<token goes here> example: htt…'
---

# Login with token

[](#)  [ Single Sign On ](https://documentation.netstorming.net/single-sign-on)      Login with token    

#### Login with token

You can use the token obtained from the [authentication web service](https://documentation.netstorming.net/single-sign-on/authentication-web-service) to authenticate an user into a TOWeRS system.

In order to do so, you have to redirect the user to the following url:

```
https://<system url goes here>/login/sso.php?token=<token goes here>

example:
    https://demo.netstorming.net/login/sso.php?token=reg465htr835safjht5h843sd.68h5rth8jhdsg87re3gre3dfhg4ere684rehrth4rt6rth.trh4rt4hd35g4re68hhrth84
```

The page will handle the token and authenticate the user.

If you want to specify a navigation language, you can provide to sso.php a `language` param with the requested language.
Available languages depends on your system setup, but valid values are: (it, en, fr, pt-br, sl, ca, de, es, hr, ru, nl, zh, ar).

```
example: 
    https://demo.netstorming.net/login/sso.php?token=reg465htr835safjht5h843sd.68h5rth8jhdsg87re3gre3dfhg4ere684rehrth4rt6rth.trh4rt4hd35g4re68hhrth84&language=it
```

If you want the user to be redirected to a specific page after the login, you can pass the additional GET parameter *redirect\_to*.

`redirect_to` needs to be populated with the path (with any parameters) of the target page, all [URL-encoded](https://en.wikipedia.org/wiki/Percent-encoding).

As an example, if you want the user to be redirected to `/booking/availabilityV2.php?city_code=VCEI` after the login, the URL for SSO will be:

```
https://demo.netstorming.net/login/sso.php?redirect_to=%2Fbooking%2FavailabilityV2.php%3Fcity_code%3DVCEI&token=reg465htr835safjht5h843sd.68h5rth8jhdsg87re3gre3dfhg4ere684rehrth4rt6rth.trh4rt4hd35g4re68hhrth84

```

---

## Navigation

- Parent: [Single Sign On](https://documentation.netstorming.net/single-sign-on.md)
- Previous: [Authentication web service](https://documentation.netstorming.net/single-sign-on/authentication-web-service.md)
