Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tools4everbv/helloid-conn-prov-source-generic-scim
Generic-Scim - Source
https://github.com/tools4everbv/helloid-conn-prov-source-generic-scim
cloud dei provisioning scim source
Last synced: about 1 month ago
JSON representation
Generic-Scim - Source
- Host: GitHub
- URL: https://github.com/tools4everbv/helloid-conn-prov-source-generic-scim
- Owner: Tools4everBV
- Created: 2021-04-26T09:48:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-15T15:17:58.000Z (11 months ago)
- Last Synced: 2024-01-15T19:48:31.780Z (11 months ago)
- Topics: cloud, dei, provisioning, scim, source
- Language: PowerShell
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HelloID-Conn-Prov-Source-Generic-Scim
| :information_source: 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. |
## Table of contents
- [Introduction](#Introduction)
- [Getting started](#Getting-started)
+ [Connection settings](#Connection-settings)
+ [Prerequisites](#Prerequisites)
+ [Contents](#Contents)
+ [PowerShell functions](#PowerShell-functions)
+ [Supported PowerShell versions](#Supported-PowerShell-versions)
- [Setup the connector](#Setup-the-connector)
- [Getting help](#Getting-help)
- [Contributing](#Contributing)
- [HelloID Docs](#HelloID-Docs)## Introduction
The _'HelloID-Conn-Prov-Source-Generic-Scim'_ connector is a working example source connector based on scim based API's. http://www.simplecloud.info.
## Getting startedThis 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.
### Connection settings
| Setting | Description |
| ------------ | ----------- |
| ClientID | The ClientID for the SCIM API |
| ClientSecret | The ClientSecret for the SCIM API |
| Uri | The Uri to the SCIM API. |
| | |### Prerequisites
- 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.
### Contents
| 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 |
| | |### PowerShell functions
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-HTTPErrorThe 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.
### Supported PowerShell versions
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.
## Setup the PowerShell connector
1. Make sure you have access to the scim based API for your application.
2. Add a new 'Source System' to HelloID.
3. On the _System_ tab, click __Custom connector configuration__ and import the code from the _configuration.json_ file.
4. Copy and paste the code from _persons.ps1_ to the PowerShell script (persons) pane.
5. Go to the _Configuration_ tab and fill in the required fields.
![config](https://github.com/Tools4everBV/HelloID-Conn-Prov-Source-Generic-Scim/blob/main/assets/configuration.png)
| Parameter | Description |
| ----------------- | ------------------------------------------------------------ |
| ClientID | The ClientID for the SCIM API |
| ClientSecret | The ClientSecret for the SCIM API |
| Uri | The Uri to the SCIM API. |
| 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 |
| | |## Getting help
> _For more information on how to configure a HelloID PowerShell connector, please refer to our [documentation](https://docs.helloid.com/hc/en-us/articles/360012557600-Configure-a-custom-PowerShell-source-system) pages_
## Contributing
Find a bug or have an idea! Open an issue or submit a pull request!
## HelloID Docs
The official HelloID documentation can be found at: https://docs.helloid.com/