OKTA ---- References ~~~~~~~~~~ - `Understanding SCIM `_ - `Add SCIM provisioning to app integrations `_ - `Assign applications to users `_ Create application ~~~~~~~~~~~~~~~~~~ - From your `OKTA portal `_ - Click on **Applications** - And **Create app integration** .. figure:: images/scim-16.png :alt: Okta create app :scale: 54 % - Select **SWA - Secure Web Authentication** .. figure:: images/scim-17.png :alt: Select SWA Sign in :scale: 78 % - Add a name to your application - Add the URL of your GLPI instance (this will redirect your user to your GLPI if this application is avaiblable to the OKTA user portal) - Click **Finish** .. figure:: images/scim-18.png :alt: add integration :scale: 97 % Setup the application ~~~~~~~~~~~~~~~~~~~~~ - Go back to **General** - Click **Edit** - Name the label - Select SCIM to activate the service - Click **Save** .. figure:: images/scim-19.png :alt: setup general :scale: 100 % To setup the provisioning, you need to setup GLPI. Refer to `setup GLPI `_ to configure **URL API** and **JWT Token** - Copy the **API URL** and the **JWT token**, you need to paste this information in OKTA. - Go back to your OKTA application - Paste the API URL - Select the Unique identifier field for users (*name.familyName, phoneNumber, name.givenName, id, userName, email,* etc. This will be the method to authenticate the users) - Select the actions which can be supported - Select **HTTP Header** - Paste the **JWT token** .. Important:: You need to **paste the JWT token** not the secret .. figure:: images/scim-21.png :alt: setup provisionning :scale: 67 % - Click **Test Connector Configuration** .. figure:: images/scim-22.png :alt: Test connection :scale: 100 % - you can now **close** this window and **save** your configuration - Always in **provisioning**, you can edit and select the possible actions for updating your user data. .. Warning:: We recommand to unselect **Sync Password** and use `OAuth SSO `_ to authenticate your user. .. figure:: images/scim-23.png :alt: Enable update data :scale: 67 % The last step is to assign your application to users Synchronising all users ~~~~~~~~~~~~~~~~~~~~~~~ - Go to admin console - Select **Directory > Groups** - Select **Everyone** - In **Applications**, click **Assign applications** - Click on assign on your SCIM application - Click **Save and Go Back** .. figure:: images/scim-24.png :alt: assign everyone :scale: 100 % Synchronising selected groups and users ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Go to admin console - Select **Directory > People** - Select the **User** you want to import - In **Applications**, click **Assign applications** - Click on assign on your SCIM application - Click **Save and Go Back** Repeat this step for all users and groups you want to import. .. Important:: See the procedure for setting up the `OAuth SSO `_ plugin to authenticate users in GLPI.