Skip to content

Chainlit banner image used in URL previews is not correct #2969

Description

@wrynearson

Describe the bug
When sharing a /login link (with username & password auth) of a deployed Chainlit webapp, the URL preview (using the og:image property) points to an image on S3 that isn't the real Chainlit banner.

<meta property="og:image" content="https://chainlit-cloud.s3.eu-west-3.amazonaws.com/logo/chainlit_banner.png">

The preview image that renders (at least in Slack):
image

To Reproduce
Steps to reproduce the behavior:

  1. Go to /login of a deployed Chainlit app
  2. Click on the Source tab of the browser inspect tool
  3. Scroll down to login
  4. Look at the url of the <meta property="og:image"> tag

Expected behavior
A Chainlit banner/logo appears, not this image.

Screenshots

Image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser N/A
  • Version N/A

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendPertains to the frontend.needs-triage

    Type

    No fields configured for Bug.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions