akshata29 / entaoai

Chat and Ask on your own data. Accelerator to quickly upload your own enterprise data and use OpenAI services to chat to that uploaded data and ask questions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

web app display: Authentication Not Configured

cyberflying opened this issue · comments

after sync fork and rerun the action workflow: Deploy Python API and Deploy App, when access the web site, it display
image

I found only 3 tabs have this issue: Chat, Ask a question and PIB.

That's by design. Introduced a way to secure the website (and selected features) as that was ask. I will change the message to be more clear, but for those feature in current state you will have to deploy in your tenant and will provide instruction on how to configure that.

got it, thanks!

@akshata29 Thanks for the support. Is there anyway to disable the authentication feature above?

@cyberflying can I please ask if you found any work-around to diasble authentication ?

@akshata29 Thanks for the support. Is there anyway to disable the authentication feature above?

@cyberflying can I please ask if you found any work-around to diasble authentication ?

Thanks @cyberflying.

@Mshz2
If you want to disable the authentication by itself, the core code are in ChatGpt.tsx, OneShot.tsx and Pib.tsx. For each of those in the useEffect method, comment following lines of code

if (window.location.hostname != "localhost") {
getUserInfoList();
setShowAuthMessage(true)
} else
setShowAuthMessage(false)