Bring users and groups from Square 9 Identity Manager (S9IM) into GlobalForms, so the same accounts and passwords work in both products.
This feature requires GlobalForms version 10.10 or greater.
What synchronization does
-
Groups become roles. Each S9IM group is matched to a GlobalForms role with the same name. If no role exists, GlobalForms creates one. You can then use these roles on a form's Access settings.
-
Users are created or updated. Each S9IM user is added to the GlobalForms User resource, or updated if they already exist, and given the roles for their S9IM groups plus the Authenticated role.
-
Existing roles are kept. Synchronization adds roles but does not remove roles you assigned in GlobalForms.
-
Passwords stay in S9IM. When a synchronized user signs in, GlobalForms checks the password with S9IM. Password changes in S9IM take effect immediately.
-
Administrator access is protected. By default, S9IM groups cannot give users the GlobalForms Administrator role.
Before you begin
-
The address of the S9IM management API, for example
http://s9im-server:5000/api. The GlobalForms server must be able to reach it. -
An S9IM API key.
-
Access to
config\local.jsonon the GlobalForms server.
Turn on S9IM synchronization
-
Add an
s9imsection toconfig\local.json:JSON{ "s9im": { "enabled": true, "apiUrl": "http://s9im-server:5000/api", "apiKey": "<S9IM API key>", "domain": "", "interval": 60, "allowAdminRole": false } } -
Restart the GlobalForms service.
-
Sign in to GlobalForms as an administrator and select Synchronize S9IM in the menu bar to run the first synchronization.
-
When it finishes, check that the expected roles and users appear.
Settings
|
Setting |
Default |
Description |
|---|---|---|
|
|
|
Turns S9IM synchronization and S9IM sign-in on or off. |
|
|
(none) |
Required. Address of the S9IM management API |
|
|
(blank) |
Required. S9IM API key. You can enter the key on its own, or as |
|
|
(blank) |
Optional prefix for synchronized user names. For example, |
|
|
|
Minutes between automatic synchronizations. |
|
|
|
When |
Choosing a user name prefix
|
|
Result |
|---|---|
|
Blank (default) |
S9IM users keep their user names. GlobalForms checks S9IM first for every sign-in. Use this when S9IM is your main source of accounts. |
|
A prefix, such as |
S9IM users are stored as |
With a prefix, users can sign in with or without it. For example, jdoe and s9im\jdoe both work.
Running synchronization
-
Manually: sign in as an administrator and select Synchronize S9IM in the menu bar. A message shows while it runs and when it finishes.
-
Automatically: set
intervalto the number of minutes between runs, then restart the service.
Synchronize again after you add users or change group membership in S9IM. Password changes do not need a synchronization.
Troubleshooting
|
Message or symptom |
Cause and fix |
|---|---|
|
|
Set |
|
|
Add |
|
|
The API key is wrong or does not have access. Check |
|
The synchronization fails to connect |
Check |
|
A user can't sign in after synchronization |
Check that the user exists and is active in S9IM, and try their user name both with and without the prefix. |
|
A user did not become an administrator |
This is expected while |