Configure real-time Okta - laravel user provisioning using SCIM. Our laravel SCIM package allows you to automate user creation, update and delete user information from the IDP (identity provider) in real-time to your laravel site. This guide will enable you to configure SCIM user provisioning for your laravel site using Okta as the Identity Provider, to achieve seamless automated real-time laravel Okta SCIM user provisioning.
Features
The following provisioning features are supported:
-
Automate real time provisioning
Automatically Provision newly created or updated Users in your Identity Provider into laravel in Real Time
-
Automate User Lifecycle management
SCIM enables automating the user lifecycle management process by creating, updating, or removing user data in connected applications
-
Automate user Deprovisioning / Deactivation
Automatic User Deprovisioning feature enables deactivation /deletion of user accounts on your laravel site when user is deleted / unassigned / removed from your IdP
-
Attribute Mapping
Map and update laravel user attributes automatically from your IDP.
Follow the steps below for configuring Okta SCIM user provisioning in Laravel
1. Installing the package using Composer
- Open a Command Prompt window and change the working directory to your Laravel app’s main directory.
- Enter the command composer require miniorange/scim-laravel
- After successful installation of package, go to your Laravel app in the browser and enter https://<your-host>/mo_scim_admin in the address bar.
- The package will start setting up your database for you and then the package will take you to the admin registration page, where you can register or
login with miniOrange, and then configure SCIM Provisioning.
Step 2. Configure your Laravel SCIM package
- Now, You can see the SCIM Setting Dashboard and you will find the SCIM Base URL and Bearer token keep the scim credentials handy, it will required later to configure your IDP.
- In the name field, select from the dropdown the SCIM attribute you want to map with name column of your laravel user table.
Step 3: Configure Okta for SCIM provisioning
- Go to
Okta
portal and login to your account.
- Navigate to Admin Portal > Applications and click on Browse App Catalog.
- Search for scim and select SCIM 2.0 Test App(OAuth Bearer Token). Click on it.
- Click on Add Integration button after that click on Next button.
- Select Secure Web Authentication and then, select Administrator sets username,user sets password. Click Done.
- Navigate to the Provisioning menu of the application and Click on the Configure API Integration button.
- Check the Enable API Integration box and enter the SCIM base URL in SCIM 2.0 Base URL field and SCIM Bearer Token in OAuth Bearer token field from the SCIM Setting of the SCIM user provisioning package and click on Test API Credentials.
- If successful, a verification message appears at the top of the screen. Click on Save.
2.1 Assign an app integration to a user
- Go to the Assignments tab and click Assign and select Assign to People.
- Click Assign next to a user name.
- Click on Save and Go back button, after that click on Done.
- You can See the people will assigned.
- The user would have been assigned in your application and you will see that the same user will be created in your Laravel site Users table.
- Now you can update or delete or create users in your Okta application and same will be reflected in your Users table.
Additional Resource
If you are looking for anything which you cannot find, please drop us an email on
laravelsupport@xecurify.com