Skip to content

Infra: Add Intercom Support #4938

@WillsonHG

Description

@WillsonHG

Description

https://easycla.lfx.linuxfoundation.org
https://organization.lfx.linuxfoundation.org

We need to add Intercom to the Corporate Console and EasyCLA landing page UI for testing and then release. We will test in Prod environment using an Intercom Segment defined in Intercom, then will change the audience to all Users once ready.

More info:

Auth0 custom claim — the JWT (intercom_user_jwt) requires an Auth0 Action/Rule that mints an Intercom Identity Verification token and attaches it as a custom claim (e.g., http://lfx.dev/claims/intercom). This is a backend/Auth0 config dependency.

Authenticated users only —The script should only be loaded for authenticated users (not just hidden), which is how Mentorship does it.

Shutdown on logout — add a step to call Intercom('shutdown') and clear window.intercomSettings JWT on logout to prevent identity leakage between sessions.

CSP scope — Consider copying the exact CSP entries from Mentorship's security-headers.js since the domains will be the same.

Environment-based config — Intercom app IDs are different in prod vs dev

Note: Product support has no requirements for installing on dev at this time, we will perform our testing in the prod environment using Segment in Intercom to hide from the general audience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions