Skip to content

Commit

Permalink
Add missing step to README instructions for enabling auth (#235)
Browse files Browse the repository at this point in the history
### Description

When setting up AAD Auth, an additional step is needed to provide
consent for the frontend to access the backend for some tenants. Update
the READMEs to include this step.

This is solely a documentation update.
  • Loading branch information
gitri-ms authored Aug 22, 2023
1 parent 3877ea9 commit aa2d078
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,15 @@ By default, Chat Copilot runs locally without authentication, using a guest user
4. Set _Admin consent display name_ and _User consent display name_ to `Access copilot chat as a user`

5. Set _Admin consent description_ and _User consent description_ to `Allows the accesses to the Copilot chat web API as a user`

4. Add the web app frontend as an authorized client application
1. Click *Add a client application*

2. For *Client ID*, enter the frontend's application (client) ID
3. Check the checkbox under *Authorized scopes*
4. Click *Add application*
4. Add permissions to web app frontend to access web api as user
Expand Down
9 changes: 9 additions & 0 deletions scripts/deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@ You will need two Azure Active Directory (AAD) application registrations -- one

5. Set *Admin consent description* and *User consent description* to `Allows the accesses to the Chat Copilot web API as a user`

4. Add the web app frontend as an authorized client application
1. Click *Add a client application*

2. For *Client ID*, enter the frontend's application (client) ID

3. Check the checkbox under *Authorized scopes*

4. Click *Add application*

4. Add permissions to web app frontend to access web api as user
1. Open app registration for web app frontend

Expand Down

0 comments on commit aa2d078

Please sign in to comment.