Chainlit / chainlit

Build Conversational AI in minutes ⚡️
https://docs.chainlit.io
Apache License 2.0
6.24k stars 799 forks source link

After configuring the id, it opens as a blank page #137

Closed Alberoyang closed 1 year ago

Alberoyang commented 1 year ago

Hi~ Thank you for your outstanding work! I want to use your outh function. I configured the project id and set public to false and set the project id. I can make sure that the id are made up of numbers and Arabic numerals. I deployed it on my server's docker, and I open with a blank page.image
If I set public to true, everything goes well. Could you please help take a look~ thanks!

willydouhard commented 1 year ago

To use auth on a deployed app, you will have to add your authorize your domain name in your Chainlit Cloud project.

Xnapper-2023-07-06-10 26 24
Alberoyang commented 1 year ago

yep~ I have add the domin. image It dose not work~ And my domin is http://my-server-ip:8001, is this make sense?

willydouhard commented 1 year ago

To use auth on a deployed app you need to use https also. If you open the console in your browser's blank page you should see an error about that

Alberoyang commented 1 year ago

Thanks a lot~ It works.