You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fetch AAD authentication info from backend (microsoft#427)
### Motivation and Context
<!-- Thank you for your contribution to the chat-copilot repo!
Please help reviewers and future users, providing the following
information:
1. Why is this change required?
2. What problem does it solve?
3. What scenario does it contribute to?
4. If it fixes an open issue, please link to the issue here.
-->
this PR prepares the frontend for microsoft#377 and removes the need for any AAD
configuration environment variables.
### Description
- removes `REACT_APP_AUTH_TYPE` and all variables starting with
`REACT_APP_AAD_`
- calls the `/authConfig` endpoint when the app first loads and if
needed, renders the `MsalProvider` using the fetched config.
- updates workflows and deployment scripts accordingly
<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
### Contribution Checklist
<!-- Before submitting this PR, please make sure: -->
- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
Copy file name to clipboardExpand all lines: scripts/deploy/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ This document details how to deploy Chat Copilot's required resources to your Az
11
11
12
12
-`F1` and `D1` SKUs for the App Service Plans are not currently supported for this deployment in order to support private networking.
13
13
14
-
- Chat Copilot deployments use Azure Active Directory for authentication. All endpoints (except `/healthz`) require authentication to access.
14
+
- Chat Copilot deployments use Azure Active Directory for authentication. All endpoints (except `/healthz` and `/authInfo`) require authentication to access.
'By using Chat Copilot, you agree to protect sensitive data, not store it in chat, and allow chat history collection for service improvements. This tool is for internal use only.',
'By using Chat Copilot, you agree to protect sensitive data, not store it in chat, and allow chat history collection for service improvements. This tool is for internal use only.',
0 commit comments