loading...

Discussion on: How to get the anchors in an URL from server-side or node / express context

Collapse
eruizdechavez profile image
Erick Ruiz de Chavez

The URL hash is never sent to the server. You will need to read it on the browser. I am assuming your callback (return) URL is on your server, so you could have some JS code that executes when the page is loaded, reads the hash and then sends it back to the server with an AJAX request.

developer.mozilla.org/en-US/docs/W...

Collapse
madhusudanbabar profile image
Krypton Author

Thanks for the reply, yes, that's the only thing which worked