Skip to main content

What’s the timeout threshold on webhooks?

By default, Lumos waits 15 seconds for a webhook to respond before treating it as a timeout. If your endpoint needs more time, contact Lumos Support to extend the timeout for your organization. An extended timeout applies to every webhook in your organization, including “Test Webhook”. Webhooks do not retry, so a timed-out request is considered failed/unsuccessful in Lumos, even if the workflow or process later succeeds in the service provider. When a provisioning webhook times out, Lumos still tries to assign the employee the access was requested for to any IdP apps or IdP/email groups associated with the request. See Provisioning Webhooks. After trying to add the user to the IdP/email groups, Lumos always creates a manual provisioning task for the App Admins to act on. Lumos assumes that some part of the provisioning workflow failed and needs manual action. See Confirming Provisioning For Access Requests.

How do webhooks authenticate to my endpoint?

Add the credentials your endpoint expects under “Custom Headers” on the webhook, for example an Authorization header with a static token or an API key header. Lumos sends those headers with every call. Lumos also signs every webhook in the X-Lumos-Webhook-Signature header. See Verifying Webhook Signatures. Lumos doesn’t fetch OAuth tokens for webhooks. If your endpoint only accepts short-lived OAuth tokens, put a service that holds the token, such as an iPaaS workflow, between Lumos and the endpoint.

Can I modify the content of the webhook payload?

This is not supported today. The fields and format of a webhook payload are static and cannot be modified when you create the webhook.

Are custom intake fields sent in webhooks?

Yes. Lumos sends custom intake fields that you add to an application as part of the webhook payload. This includes request validation, pre-approval, provisioning, and deprovisioning webhooks. If the app does not have custom intake fields configured, the field is sent as:

Are custom attributes sent in webhooks?

Custom attributes that you map to a user are not sent as part of the webhook payload today.

What is the format of the webhook payload?

The Permission source is always one of the following values:
  • MICROSOFT_OAUTH
  • MICROSOFT_GCC
  • GSUITE_OAUTH = “GSUITE_OAUTH”
  • OKTA
  • MANUAL
  • ONELOGIN
  • ATLASSIAN
  • GOOGLE_CLOUD
  • LUMOS_INTEGRATION
  • JUMPCLOUD

More questions? See the deep dive troubleshooting guide.