Closed cyberflying closed 1 year ago
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 ?
I followed this doc, it could allow AAD user to access the website: https://learn.microsoft.com/en-us/azure/app-service/scenario-secure-app-authentication-app-service#3-configure-authentication-and-authorization
@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)
after sync fork and rerun the action workflow: Deploy Python API and Deploy App, when access the web site, it display
I found only 3 tabs have this issue: Chat, Ask a question and PIB.