Secret or public key must be provided when running in a static Azure website api

Following the instructions, all works great, except when running on an Azure static website API.
The terrible error description “No authorization token was found”" keeps being returned.

3 grueling debugging days later… I figured out that the Bearer gets overwritten internally by the App’s own Authentication. How can I pass the token without it getting overridden by another bearer token?