âšī¸ Information |
---|
This repository contains the connector and configuration code only. The implementer is responsible to acquire the connection details such as username, password, certificate, etc. You might even need to sign a contract or agreement with the supplier before implementing this connector. Please contact the client's application manager to coordinate the connector requirements. |
The 'HelloID-Conn-Prov-Source-Generic-Scim' connector is a working example source connector based on scim based API's. http://www.simplecloud.info.
This connector is a working example for a scim based API.
Although this is a working example, changes might have to be made according to your own environment.
Before implementing the connector in HelloID, make sure to test the connector in VSCode.
Setting | Description |
---|---|
ClientID | The ClientID for the SCIM API |
ClientSecret | The ClientSecret for the SCIM API |
Uri | The Uri to the SCIM API. http://some-api/v1/scim |
-
When using the HelloID On-Premises agent, Windows PowerShell 5.1 must be installed.
-
When the connector needs to be modified, make sure to have installed VSCode/PowerShell extension.
Files | Description |
---|---|
config.json | The configuration settings for HelloID |
persons.ps1 | The connector persons file that retrieves the persons from the target system |
personMapping.json | A basic mapping for persons |
The persons.ps1 file contains a few functions. All of which contain basic comment based help.
The functions that are available in version 1.0.0.0:
- Get-GenericScimUsers
- Get-GenericScimOAuthToken
- Invoke-GenericScimRestMethod
- Select-GenericScimUserProperties
- Resolve-HTTPError
The most important function is 'Select-GenericScimUserProperties'. This function is responsible for flattening out a user object with nested hash table's and / or array's to a flat object that can be imported in HelloID. This is also the function that will require editing when more attributes are required. At this point, only a few basic attributes are imported.
The connector is created for both Windows PowerShell 5.1 and PowerShell Core 7.0.3. This means that the connector can be executed in both cloud and on-premises using the HelloID Agent.
Older versions of Windows PowerShell are not supported.
-
Make sure you have access to the scim based API for your application.
-
Add a new 'Source System' to HelloID.
-
On the System tab, click Custom connector configuration and import the code from the configuration.json file.
-
Copy and paste the code from persons.ps1 to the PowerShell script (persons) pane.
-
Go to the Configuration tab and fill in the required fields.
Parameter | Description |
---|---|
ClientID | The ClientID for the SCIM API |
ClientSecret | The ClientSecret for the SCIM API |
Uri | The Uri to the SCIM API. http://some-api/v1/scim |
IsConnectionTls12 | Enables TLS 1.2 (Only necessary when using Windows PowerShell 5.1) |
PageSize | The pagesize used for the SCIM endpoint. You will find this information within the API reference documentation |
For more information on how to configure a HelloID PowerShell connector, please refer to our documentation pages
Find a bug or have an idea! Open an issue or submit a pull request!
The official HelloID documentation can be found at: https://docs.helloid.com/