microsoft / azurechat

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

Add Feature to Disable GitHub Login Button via Flag #300

Closed The-Denno closed 4 months ago

The-Denno commented 5 months ago

This pull request introduces a new feature that allows disabling the GitHub login button in the "microsoft/azurechat" project. By default, the login button is enabled, but it can now be disabled using the feature flag AUTH_GITHUB_ENABLED.

Changes:

This feature enhances the configurability of the authentication process, allowing for greater flexibility in different deployment scenarios.

Note: I was unable to sign the Microsoft Contributor License Agreement (CLA) as the Word document linked in Contributor.md no longer exists and the link is broken. Additionally, as of now, it is not possible to agree to the CLA on dotnetfoundation.org/.

The-Denno commented 5 months ago

@microsoft-github-policy-service agree

craigofnz commented 5 months ago

Q. Could this toggle in which login prompts are shown by existing configuration variables

AUTH_GITHUB_ID && AUTH_GITHUB_SECRET

AZURE_AD_CLIENT_ID && AZURE_AD_CLIENT_SECRET && AZURE_TENANT_ID

$0.02