.. include:: /Includes.rst.txt .. _feature-1791967024: ================================== Feature: Callbacks of integrations ================================== Description =========== Outside services reach an integration at a callback URL of its own per company and account, such as the webhook of a WhatsApp account or the redirect of an app registration. The URL names exactly one company and account with an identifier nobody can guess, and a callback is handled only with the settings of that account. Unknown URLs and integrations the company disabled answer 404 without doing anything. A redirect after a sign-in at the service is accepted only in the browser session that started it, once and within 10 minutes. Impact ====== The settings of an integration show their callback URL (``callbackUrl`` of ``getIntegrationSettings``) to enter at the service. Packages receive callbacks through ``Core\Integrations\Application\Port\IntegrationCallback`` and start sign-ins with ``Core\Integrations\Contract\OAuthStates``. .. index:: API, package:adsum-core