Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement Issue: option to not include Authorization header in backend calls #26

Open
tkh85 opened this issue Jun 20, 2023 · 0 comments
Assignees

Comments

@tkh85
Copy link

tkh85 commented Jun 20, 2023

What would you like to be added?

Configuration option to remove Authorization header in backend calls.
No need to change any of application's user authentication method, just removing Authorization header when making backend calls.

Why is this needed?

I would like to call Azure Logic Apps as backend to this application using SAS token.
Logic Apps can include SAS token in URL for authentication.
AZURE_OPENAI_API_URL configuration should work.
But, currently backend calls also includes Authorization header, and this raises error in Logic Apps.

https://learn.microsoft.com/ja-jp/azure/logic-apps/logic-apps-securing-a-logic-app?tabs=azure-portal#generate-shared-access-signatures-sas

要求エンドポイントへの受信呼び出しでは、SAS または Azure Active Directory Open Authentication のいずれか 1 つの承認スキームのみを使用できます。 1 つのスキームを使用しても他方のスキームは無効にされませんが、両方のスキームを同時に使用すると、どちらのスキームを選択するかサービスでは不明なため、エラーが発生します

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants