Replies: 1 comment 1 reply
-
Hi. You can't do this without a front-end trick. The server app can't recognize the hash values in the URL. See: https://stackoverflow.com/a/5536699 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm writing a social media auth library for hono. When asking for token to Facebook they send the token on the redirect uri like this:
endpoint?#access_token=token
Due to the hash I can't use
c.req.query('access'token')
it will returnundefined
, withc.req.url
I only getendpoint?
I can't get the info after the question mark.Is there a way to get whole url?
Beta Was this translation helpful? Give feedback.
All reactions