ERPeek

Single Sign-On and Automatic Offboarding: Guide for System Administrators

Audience: the IT or identity administrator of a company that uses ERPeek. Version: 2026-11-19. Owner: ERPeek (support@erpeek.ai).

This guide explains how to connect your identity provider to ERPeek so that your people sign in with their work account, and so that a person you disable or remove in your directory loses their ERPeek access automatically.

1. Summary

TopicAnswer
Single sign-on protocolSAML 2.0 (service provider initiated)
Provisioning protocolSCIM 2.0 (RFC 7643 and RFC 7644)
ComponentOry Polis (open source, Apache 2.0), run by ERPeek inside its own network
Tested identity providerMicrosoft Entra ID (sign-in and provisioning)
Other providersOkta, Google Workspace and any SAML 2.0 provider for sign-in; Okta and any SCIM 2.0 directory for provisioning (not Google Workspace)
PlanEnterprise
Who sets it upAn admin of your ERPeek organization, with your IT administrator
Time neededAbout 30 minutes, plus the time for one DNS record to appear

ERPeek also offers a plain "Continue with Microsoft" button on its sign-in page. That button needs no setup and is not covered here: it signs a person in, but gives your company no control. This guide is about the controlled connection that belongs to your organization.

2. Before you start

You need:

  1. An ERPeek organization, and an account that is an admin of it.
  2. The Enterprise plan on that organization.
  3. Access to the DNS of your email domain (to add one TXT record).
  4. An administrator of your identity provider who can create an enterprise application.

Everything below is done in ERPeek on the Organization page, Settings tab.

3. Step 1: prove your email domain

ERPeek only signs in, adds or removes people whose email address is on a domain your organization has proved it owns. This is the rule that prevents one company's directory from acting on another company's people.

  1. In Settings, under "Prove your email domain", enter your domain (for example contoso.com) and select Add domain.
  2. ERPeek shows a TXT record of the form erpeek-verification=<value>. Add it to the DNS of that domain.
  3. Select Check now. DNS changes can take up to an hour.

Notes:

  • A domain can belong to one ERPeek organization only.
  • Public mail domains (gmail.com, outlook.com and similar) are refused.
  • Keep the TXT record in place. ERPeek reads it again every day. If it disappears for three days, your admins are told by email. Nothing is switched off.

4. Step 2: single sign-on (SAML 2.0)

4.1 Values ERPeek gives you

In Settings, under "Connect your identity provider", ERPeek shows two values. Copy them exactly as shown on your screen.

ERPeek labelName in Microsoft EntraValue for erpeek.ai
Identifier (Entity ID)Identifier (Entity ID)https://erpeek.ai/sso
Reply URLReply URL (Assertion Consumer Service URL)https://erpeek.ai/api/sso/saml

4.2 Microsoft Entra ID

  1. Entra admin center, Enterprise applications, New application, Create your own application. Name it "ERPeek" and choose "Integrate any other application you don't find in the gallery".
  2. Open Single sign-on, choose SAML.
  3. In Basic SAML Configuration, paste the Identifier and the Reply URL from 4.1. Leave Sign on URL empty.
  4. In Attributes and Claims, keep the defaults. ERPeek reads the email address (emailaddress), the given name and the surname. The email address must be the person's work address on the domain you proved.
  5. In SAML Certificates, copy the App Federation Metadata Url.
  6. In Users and groups, assign the people or groups who may use ERPeek.

4.3 Okta

  1. Okta admin console, Applications, Create App Integration, SAML 2.0.
  2. Single sign-on URL: the Reply URL of 4.1. Audience URI (SP Entity ID): the Identifier of 4.1.
  3. Name ID format: EmailAddress. Application username: Email.
  4. Attribute statements: email, firstName, lastName.
  5. Assign people or groups, then copy the Metadata URL from the Sign On tab.

4.4 Google Workspace

  1. Google Admin console, Apps, Web and mobile apps, Add app, Add custom SAML app.
  2. Download the metadata file. Google gives a file, not a link.
  3. ACS URL: the Reply URL of 4.1. Entity ID: the Identifier of 4.1. Name ID: Basic Information, Primary email.
  4. Attributes: email, firstName, lastName. Turn the app on for the right people.
  5. In ERPeek, paste the content of the metadata file in the XML field.

Google Workspace does not send people changes to custom applications, so section 5 (automatic offboarding) does not apply. With Google, turn on "Require single sign-on" (4.7) and keep the sign-in length short: a person you disable in Google can then no longer get in once their session ends.

4.5 Other providers (OneLogin, JumpCloud, others)

Create a SAML 2.0 application with the two values of 4.1. Requirements:

  • The response and the assertion are signed (RSA-SHA256).
  • The assertion carries the person's work email address, as the NameID or as an email attribute, plus first name and last name when available.
  • Give ERPeek the federation metadata, as a link (https) or as XML.

OpenID Connect connections are not offered. Use SAML 2.0.

4.6 Finish in ERPeek

  1. Choose your identity provider, paste the federation metadata link (or the XML) and select Save connection. The connection starts as a draft.
  2. Select Test sign-in. You are sent to your identity provider and back. Only an admin can use a draft connection.
  3. Once the test has passed, select Turn on. From now on, a person who types a work address of your domain on the ERPeek sign-in page is offered "Continue with your organization".

4.7 Make single sign-on mandatory (optional)

When "Require single sign-on" is on, everyone on your proved domains signs in through your identity provider only. Passwords, Google, GitHub and the plain Microsoft button stop working for them at once.

Before ERPeek lets you turn this on:

  • you must have signed in through the connection yourself in this session;
  • you must name one emergency admin. This admin keeps a password with two-step verification, for the day your identity provider is unavailable. Every emergency sign-in is recorded and emailed to your admins.

Certificate expiry. Your identity provider's signing certificate expires every one to three years. ERPeek shows the date in Settings and emails your admins 30 days and 7 days before. After renewing it, save the connection again with the new federation metadata.

You also choose how long an ERPeek session lasts before the person is sent through your identity provider again: 1 to 24 hours, 12 by default. Your own conditional access and multi-factor rules apply at each of those sign-ins.

4.8 New people

With "People join on their first sign-in" on (the default), a person on your domain who signs in through your identity provider becomes a member of your ERPeek organization, with no invitation. With it off, only people an admin invited or your directory announced (section 5) can join.

A new member sees no project until an admin or a project owner shares one with them.

5. Step 3: automatic offboarding (SCIM 2.0)

With provisioning on, your directory tells ERPeek who is active. ERPeek acts on each message before answering it.

5.1 Connect

  1. In Settings, under "Automatic offboarding", choose your directory and select Connect directory.
  2. ERPeek shows an Address and a Secret token. The token is shown once. Store both in your identity provider now.

5.2 Microsoft Entra ID

  1. Open the ERPeek enterprise application, Provisioning, Get started.
  2. Provisioning mode: Automatic.
  3. Tenant URL: the Address from ERPeek, including the ending ?aadOptscim062020.
  4. Secret token: the token from ERPeek. Select Test connection.
  5. Mappings: keep the defaults for users. userName and the work email must be the person's address on your proved domain. Turn on group provisioning only if you want roles from groups (5.6).
  6. Scope: "Sync only assigned users and groups" is recommended.
  7. Set Provisioning status to On.

Microsoft runs a provisioning cycle about every 40 minutes. To act at once on one person, use Provision on demand.

5.3 Okta

  1. Open the ERPeek application, General, and turn on SCIM provisioning.
  2. Provisioning, Integration: SCIM connector base URL is the Address, the unique identifier field is userName, the authentication mode is HTTP Header, and the token is the Secret token.
  3. Turn on Create Users, Update User Attributes and Deactivate Users.

5.4 Other SCIM 2.0 directories

Use the Address as the SCIM base URL and the Secret token as an HTTP Bearer token. ERPeek serves /Users and /Groups with create, read, filter on userName, replace, patch and delete.

5.5 What ERPeek does

Your directory saysERPeek does
A person is active and has no ERPeek accountNo account is created. The person is expected and joins on their first sign-in
A person is active and has an ERPeek account on your domainThey become a member of your organization
A person is disabled, unassigned or deletedTheir sessions end on the next request. Their trusted devices, connector tokens and API keys are revoked. Projects of your organization that they owned are handed to an admin and keep working. Their access to your other projects is removed. Their account is blocked
A disabled person is enabled againThey can sign in again. Projects are not handed back automatically
A person's address changesERPeek follows it when the new address is on a domain you proved and is free

Safeguards:

  • A directory can never remove the last admin of an organization. ERPeek keeps that admin and alerts its own operations team.
  • A person whose address is not on a domain you proved is ignored. The event is written to your access log.
  • Projects a person created under their own name and never moved into your organization are not touched.

5.6 Roles from groups (optional)

After your directory has sent its groups, Settings lists them. Map a group to Admin or Member. Once at least one group is mapped to Admin, your directory decides who is an admin of your ERPeek organization.

Removing a person from every group does not remove their access. Only disabling, unassigning or deleting the person does.

5.7 Token rotation and disconnect

  • Create a new secret token replaces the token at once. Paste the new one into your directory straight away.
  • Disconnect directory closes the address. Nobody gains or loses access at that moment. People are managed by hand again.

6. Security facts for your review

QuestionAnswer
Where is the connection configured and stored?In a dedicated database of ERPeek's sign-on service, separate from application data, included in the daily backups
Does ERPeek receive passwords?No. Authentication happens at your identity provider
How is the SCIM token checked?Constant-time comparison. The token is never written to ERPeek logs or to the application database
What is logged from provisioning requests?Method, resource type, status and duration. Never a request body
Rate limit on the SCIM address100 requests per 10 seconds per directory, then HTTP 429 with Retry-After
Largest request body1 MB
What if ERPeek cannot apply a change?It answers HTTP 500 so your directory sends the request again
Daily controlEvery day ERPeek checks that no removed person still holds a session token, an API key, a trusted device or a project, and that it agrees with your directory on who is active
Access logEvery sign-in, refusal, membership change, role change and directory change is recorded in an append-only log, visible to your admins in the Access log tab and exportable
Can another customer's directory act on our people?No. Every action is limited to the organization that owns the connection and to its proved domains

7. Troubleshooting

SymptomLikely causeWhat to do
"Continue with your organization" does not appearThe domain is not proved, or the connection is still a draftCheck step 1, then turn the connection on
The test sign-in comes back with an errorThe Identifier or Reply URL differs from 4.1, or the person is not assigned to the applicationCompare both values character by character. Assign the person
A person is refused with "domain not verified"Their email attribute in your directory is on another domainFix the mail attribute, or prove that domain too
Microsoft "Test connection" failsThe Tenant URL lost its ending, or the token was rotatedPaste the Address again in full. Create a new token if needed
A disabled person still appears activeMicrosoft has not run its cycle yetUse "Provision on demand", or wait for the next cycle
Groups do not appear in ERPeekGroup provisioning is off, or no group is assigned to the applicationTurn group provisioning on and assign the groups
An admin is locked out while single sign-on is mandatoryYour identity provider is downThe emergency admin signs in with password and two-step verification

8. Support

Write to support@erpeek.ai with the name of your organization and the time of the problem. Never send a secret token or a certificate private key by email. ERPeek support will never ask for one.