Kay
Kay12mo ago

Deno.serve get full path instead of only params and url

I need to get params from an url like this http://localhost:8000/auth#token_type=Bearer&access_token=CENCORED&expires_in=604800&scope=identify but the params arnt after a ? but after a # so how do i get that using deno.serve?
3 Replies
Kay
KayOP12mo ago
for context when i log the url or anything it just shows /auth or http://localhost:8000/auth and with a ? it does log the params
raunioroo
raunioroo12mo ago
Fragment identifiers (the part after # ) are not typically sent to the server by browsers, so you may be outta luck there. It's a client side thing.
Kay
KayOP12mo ago
oh thx