Hi i’ve got a site.
subdomain.domain.com (discourse) and domain.com (main site)
When a user signs up to my main site I’d like to log him into discourse on my sub domain. Is there a URL I should redirect him to that can automatically log him into discourse and then bounce him back to my main site? Similar to the way udacity does it.