# Populating both email and username from URL parameters?

**URL:** https://meta.discourse.org/t/populating-both-email-and-username-from-url-parameters/402890
**Category:** Support
**Created:** [May 13, 2026, 4:34pm UTC](https://meta.discourse.org/t/populating-both-email-and-username-from-url-parameters/402890 "2026-05-13T16:34:25Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![ted](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ted/32/283882_2.png) [@ted](https://meta.discourse.org/u/ted)
#### Post date: [May 18, 2026, 1:32am UTC](https://meta.discourse.org/t/populating-both-email-and-username-from-url-parameters/402890/5 "2026-05-18T01:32:16Z")

</div>

I checked. There isn’t any built-in way to do this right now. If you want to give it a try, the relevant flow for the e-mail is this:

[Rails controller sets cookie](https://github.com/discourse/discourse/blob/main/app/controllers/static_controller.rb#L131-L133)  
 → [Ember router reads cookie and passes value to Ember controller](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/routes/signup.js#L96-L98)  
 → [Ember component accesses value on Ember controller](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/templates/signup.gjs#L75)

Could also be worth checking with the team if they’d accept a PR for this, before making it a plugin.

---

_[View the full topic](https://meta.discourse.org/t/populating-both-email-and-username-from-url-parameters/402890)._
