Giter Site home page Giter Site logo

helloid-conn-prov-source-generic-scim's Introduction

HelloID-Conn-Prov-Source-Generic-Scim

ℹī¸ 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

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 started

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.

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. http://some-api/v1/scim

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-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.

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

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

Getting help

For more information on how to configure a HelloID PowerShell connector, please refer to our documentation 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/

helloid-conn-prov-source-generic-scim's People

Contributors

ajh3 avatar evanderiet avatar jeroenbl avatar maikel-b avatar michiel85 avatar rschouten97 avatar rvddijssel avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.