#If you just do the GET / from the server
1 messages · Page 1 of 1 (latest)
ima just do this
it seems like the headers is the issue weirdly
if I remove headers from the fetch it goes through
Are your headers in accord to the Headers interface ?
what are those code and roblox_code_verifier ?
they are for PKCE oauth
flow
and im just using what the mozilla says for headers
oh crap
maybe headers just does not take a headers Object
and just a regular table
let me try
even if i do just a regular object
and not the Headers object
i still get the same result
just not sure why headers
is causing issues here
These objects code and roblox_code_verifier use what properties from here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers
I mean, the headers need to follow a specific interface. Only certain keys and values are accepted (the ones described in the docs I sent)
what?
since when
cant I send any arbitrary header key
there are "standards" for headers that are reserved keys but i thought you could pass any header
Ah sorry, yes they can be arbitrary
right
im just confuzzled on why passing the headers is causing the idle
wait a minute..
Do you have some middleware checking headers ? Maybe there is something blocking there
In the server on 3000
What is this authPlugin ?
fuck
i want to die
the issue the entire time
was that the key had underscores??????
but googling says underscores are fine in headers??
@earnest canyon
incase you wanted to know the solution
fuck dude like
how am i suppose to know that shit
i wonder if this is just a error with elysia ?
Yeah, I guess it's a third party middleware that is putting rules for the headers
very weird
Maybe is this: https://github.com/oven-sh/bun/issues/3580
But it's definitely something on the http implementation from bun