:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
"""Microsoft Teams Bot Framework messaging endpoint for SupportHog."""
from posthog.ingress.teams.provider import build_teams_provider
from posthog.ingress.views import build_webhook_view
from products.conversations.backend.support_teams import (
get_botframework_issuers,
get_botframework_jwks_uri,
get_teams_app_id,
)
teams_event_handler = build_webhook_view(
build_teams_provider(
jwks_uri_getter=get_botframework_jwks_uri,
audience_getter=get_teams_app_id,
issuers_getter=get_botframework_issuers,
)
)