microsoft / azurechat

🤖 💼 Azure Chat Solution Accelerator powered by Azure Open AI Service
MIT License
1.2k stars 1.12k forks source link

Run in unauthenticated mode? #265

Open brendon-colburn opened 10 months ago

brendon-colburn commented 10 months ago

Is there a recommendation on how to configure this to run in unauthenticated mode? The scenario is that I want High School kids to be able to access this for 2 hours and then shutdown the resource until the next time I see a group of High School kids. I'm trying to move away from having them use ChatGPT because the login process is unreliable and felt this would be a better solution but then was surprised that auth was required here as well.

Any help would be greatly appreciated, I'm open to suggestions regarding alternative approaches to unauth, but it needs to be dead simple / easy so I can rinse and repeat with groups of 20-40 high school students

brendon-colburn commented 9 months ago

Anyone? @thivy ? I have something coming up end of January that I could leverage this solution for if it had an unauthenticated experience. If not I have to look elsewhere

ewanoomen commented 9 months ago

You might be able to leverage the local dev account option by editing the code in https://github.com/microsoft/azurechat/blob/601086b1b3b462965d23f355b33438d91b1eb454/src/components/login/login.tsx#L31-L33 Which will allow you to just type in your name and continue to the app