Use dependency in function authentication script
We have tried to implement a workaround to be able to use a custom HTTP header name to authorize call to a HTTPS endpoint function.
Using the function settings "Authentication > Scripts" by providing a custom script that would extract the custom header is possible, but then function dependency (such as Realm if we want to delegate the custom header to Realm API key auth for example) is not possible (and such script cannot be implemented as an async JavaScript function also).
1
vote
Cédric
shared this idea