-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Allow fetch unstable APIs in Deno to query a TLS certificate-protected server #208
Comments
It's important to me as well. I need to be able to create proxies via |
Transferring to edge runtime repo because it likely requires changes to the container. |
Hey @sweatybridge can we get an update on the resolution of this issue? If resolved, can we get some documentation on how to make it work? Without this feature, we must switch to AWS Lambda and use NodeJS. |
Any news related to this issue? I ran into it today ... |
Hej @nyannyacha, while continuing to try out |
@smndtrl Yeah, API has been stabilized in Deno 2.x. develop branch tracks Deno 2.1.4, so the API should be available. |
Thanks for clarifying @nyannyacha. The API isn't currently in develop. It is part of |
For deno_fetch, it doesn't exist in the ext because there is nothing to modify separately for the edge runtime, it is being pulled as a direct dependency (see Cargo.toml in the root). Did it not work in the develop branch? I'll check it out soon, this is a stabilized API so we should support it too. |
@nyannyacha I get Code is very simple const httpOptions: Deno.CreateHttpClientOptions = {
}
const tlsOptions: Deno.TlsCertifiedKeyPem = {
key: "...",
cert: "..."
}
const client = Deno.createHttpClient({...httpOptions, ...tlsOptions}) |
Hello @smndtrl 😁 This appears to be simply not exposing that API from the edge runtime. A patch will be submitted soon. |
🎉 This issue has been resolved in version 1.68.0-develop.9 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Is your feature request related to a problem? Please describe.
I'd like to use the
fetch
unstable API from Deno in order to use a client certificate to make requests to a secured server.Describe the solution you'd like
Allow basic
unstable
APIs from Deno. Right now Deno on supabase is very limited, it's impossible to use for even simple use cases such as this one.Describe alternatives you've considered
Either there is a solution or I'll have to use something other than supabase.
I've tried using
Deno.createHttpClient
, but it'sundefined
once deployed on supabase.Thanks!
The text was updated successfully, but these errors were encountered: