hub.eb?material_id=611&track_id=608

Single Sign On Using the Gateway Portal


The Gateway Portal app runs on a Gateway and allows a user to access remote Verj.io Applications using Single Sign On (SSO). The portal is made up of clickable tiles, each of which passes the user's credentials to a remote Form.

Users with permission to edit the Gateway Portal can configure and customise it by clicking the Edit switch. In edit mode they can create new tiles and folders and configure existing tiles by clicking on them.

These users can create tiles representing Forms in any remote Verj.io Applications that have a trust relationship with the Gateway. Each tile can be customised with a colour and icon. Any number of tiles can be added and a hierarchy of folders can be created to organise them.

Steps


1

These steps follow on from Configuring Gateway Single Sign On.

For illustrative purposes these steps demonstrate Gateway SSO between the Embedded Server and itself.

Create a Form called Home.

Create a Field named username and add it to the page.

Attach a Before Form script and paste the following code:

fields.username.value = system.securityManager.getUserName();
2

Open the Server Admin App and enable the Use Gateway Server option in the User Authentication section.

3

Open the Gateway Portal (http://localhost:3050/ebasetest/verjioGateway.eb) on your embedded server. You may need to alter the port number.

Click the Edit switch in the top right of the Gateway Portal screen, then click Edit Tiles > Add Tile.

4

Select myRemoteApp from the Remote Server dropdown.

Enter Home for both the Form Name and Display Name fields.

Then click the Save button.

Press the Back button on the page.

5

Click the Home tile to go to Home Form in the remote Verj.io Application.

Check that the username is populated.

Current Module

Related