# How to have a reply link with pre-filled information?

**URL:** <https://meta.discourse.org/t/how-to-have-a-reply-link-with-pre-filled-information/228209>\
**Category:** Product Support\
**Created:** [May 26, 2022, 10:54pm UTC](https://meta.discourse.org/t/how-to-have-a-reply-link-with-pre-filled-information/228209 "2022-05-26T22:54:59Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![renato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato/32/383632_2.png) [@renato](https://meta.discourse.org/u/renato)\
**Post date:** [May 28, 2022, 6:10pm UTC](https://meta.discourse.org/t/how-to-have-a-reply-link-with-pre-filled-information/228209/5 "2022-05-28T18:10:10Z")

</div>

I think you can have some logic in the theme component to show the login page if the user isn’t logged in.

What I currently do, linking from another site, is enforcing the login flow like this, but I’m not sure if this works if you’re not using SSO:

`SITE_URL/session/sso?return_path=/t/slug/id%23reply`

Having it in the theme component is better to avoid unnecessary redirects anyway, I’ll try improving it when I get a chance (I’ll comment here if I do).

---

_[View the full topic](https://meta.discourse.org/t/how-to-have-a-reply-link-with-pre-filled-information/228209)._
