Azure / Azure/openai-at-scale

Feature Request: Use the Authentication function of the App Service to require user authentication.

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
129
Forks
56
PR merge metrics
No merged PRs in 30d

Description

### This issue is for a: (mark with an `x`)
```
- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce

I would like to add an authentication function for AzureAD. I have configured the following article as a reference, but do I need to add functionality on the application side?

[Configure your App Service or Azure Functions app to use Azure AD login](https://learn.microsoft.com/en-us/azure/app-service/configure-authentication-provider-aad?tabs=workforce-tenant)

### Any log messages given by the failure

> AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption.

![image](https://github.com/Azure/openai-at-scale/assets/18348089/7876c5d9-12d8-48e6-81f6-b19aca0e384f)

### Expected/desired behavior
We would like to have unauthenticated users see the Microsoft account login screen and authenticated users be able to use the application.

### OS and Version?
macOS (Big Sur)

### Versions
>

### Mention any other details that might be useful

The Authentication setting screen of App registrations is attached for your reference.

![Screen Shot 2023-07-04 at 10 29 05](https://github.com/Azure/openai-at-scale/assets/18348089/a8fdcada-92f8-43d8-8a0a-95d32b45f4e0)

Contributor guide

Open the contributing guide

Research direction

No files, tests, or application entry points are named. Start with the linked Azure App Service/Azure AD authentication article and inspect the repository to determine whether application-side changes are required. Done means unauthenticated users see the Microsoft account login screen and authenticated users can use the application.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
authentication, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.