# Redirect after login loses query params

**URL:** <https://meta.discourse.org/t/redirect-after-login-loses-query-params/121178>\
**Category:** Development\
**Created:** [June 24, 2019, 3:57pm UTC](https://meta.discourse.org/t/redirect-after-login-loses-query-params/121178 "2019-06-24T15:57:56Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![emanuele](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/emanuele/32/142687_2.png) [@emanuele](https://meta.discourse.org/u/emanuele)\
**Post date:** [June 25, 2019, 10:47am UTC](https://meta.discourse.org/t/redirect-after-login-loses-query-params/121178/3 "2019-06-25T10:47:45Z")

</div>

I still don’t know how to preserve query params, but I have solved my own issue by using url params instead of query params (so the route is now `/keybase-proofs/new-proof/:username/:kb_username/:sig_hash`).

---

_[View the full topic](https://meta.discourse.org/t/redirect-after-login-loses-query-params/121178)._
