You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/all/map-hibob-users-to-port-accounts.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ This guide assumes the following:
27
27
28
28
To represent HiBob users in your portal, we need to create a HiBob User blueprint that can store HiBob user data and optionally link to Port user accounts.
29
29
30
-
<h3>Create the HiBob User blueprint</h3>
30
+
<h3>Create the HiBob User blueprint</h3>
31
31
32
32
1. Go to the [data model](https://app.getport.io/settings/data-model) page of your portal.
33
33
@@ -132,7 +132,7 @@ To represent HiBob users in your portal, we need to create a HiBob User blueprin
132
132
133
133
5. Click on `Save` to create the blueprint.
134
134
135
-
<h3>Enhance the Port User blueprint</h3>
135
+
<h3>Enhance the Port User blueprint</h3>
136
136
137
137
Now we need to enhance the Port User blueprint to add a relation to the HiBob User blueprint and mirror properties to display HiBob information.
138
138
@@ -191,11 +191,14 @@ Now let's add your HiBob credentials to Port's secrets:
191
191
3. Click on the `Secrets` tab.
192
192
4. Click on `+ Secret` and add the following secrets:
193
193
- `HIBOB_API_URL` - Your HiBob API base URL (e.g., https://api.hibob.com/v1)
194
-
- `HIBOB_SERVICE_USER_ID` - Your HiBob service user ID
195
-
- `HIBOB_SERVICE_USER_TOKEN` - Your HiBob service user token
194
+
- `HIBOB_BASIC_AUTH` - Your base64 encoded credentials (base64(HIBOB_SERVICE_USER_ID:HIBOB_SERVICE_USER_TOKEN))
HiBob uses service user authentication with both an ID and token. You'll need to create a service user in HiBob with appropriate permissions to access employee data. Learn more about [creating HiBob service users](https://apidocs.hibob.com/docs/api-service-users).
201
+
HiBob uses Basic Authentication with base64 encoding. You'll need to create a service user in HiBob with appropriate permissions to access employee data, then encode the credentials as base64(service_user_id:service_user_token). Learn more about [creating HiBob service users](https://apidocs.hibob.com/docs/api-service-users).
0 commit comments