Azure / Azure/Azurite

Error: Authentication scheme Bearer is not allowed with HTTP

Open
#2,477 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.3k
Forks
393
Avg merge
1d 20h
Merged PRs (30d)
36

Description

I've implemented a basic HTTPS proxy (following @jongio 's [instructions](https://blog.jongallant.com/2020/02/azurite-https-defaultazurecredential/)) but i get this error:
```
[2024-10-16T09:57:46.895Z]
[2024-10-16T09:57:46.896Z] AuthenticationFailed
[2024-10-16T09:57:46.896Z] Server failed to authenticate the request. Make sure the value of the Authorization header is formed correctly including the signature.
[2024-10-16T09:57:46.896Z] RequestId:92851151-f117-42c1-82ec-e2410785896f
[2024-10-16T09:57:46.896Z] Time:2024-10-16T09:57:45.181Z
[2024-10-16T09:57:46.896Z] Authentication scheme Bearer is not allowed with HTTP.
[2024-10-16T09:57:46.896Z]
```

I am aware of the [updated instructions which recommend to install https on azurite itself](https://blog.jongallant.com/2020/04/local-azure-storage-development-with-azurite-azuresdks-storage-explorer/), but this doesnt work for me because (for some reason) I can't get Azure Storage Explorer to work with the manually created root certificate (perhaps because of some corporate lockdown, i'm not sure).

Is there a way to override this restriction and tell Azurite to support bearer auth on http?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.