Open sumit4aug opened 1 year ago
Which approach did you use for AAD? Did you follow https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/LoginAndAclSetup.md or use a different approach?
If you followed that guide, then I think the content_file function should check get_auth_claims as well.
If you used a different approach, then the content_file function will need to check the auth headers somehow. We have another sample app here that checks auth in Python routes: https://github.com/Azure-Samples/ms-identity-python-webapp/blob/main/app.py
cc @mattmsft since this is ACL related
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
azd version?
Versions
Mention any other details that might be useful