# ¿Invitar tokens sin correo electrónico?

**URL:** https://meta.discourse.org/t/invite-tokens-without-email/82669
**Category:** Feature
**Tags:** invites
**Created:** [10 Marzo, 2018 11:54 UTC](https://meta.discourse.org/t/invite-tokens-without-email/82669 "2018-03-10T11:54:46Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [10 Marzo, 2018 11:54 UTC](https://meta.discourse.org/t/invite-tokens-without-email/82669/1 "2018-03-10T11:54:46Z")

</div>

Is there any way of creating “anonymous” invite tokens? I would like to be able to hand out invite links that grants access to specific groups to people whose email I don’t have. (Obviously, I’m talking about people who are not already users on the forum.)

The point is to make sure that these new users have access to those groups right away, without having to apply for access.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [10 Marzo, 2018 13:05 UTC](https://meta.discourse.org/t/invite-tokens-without-email/82669/2 "2018-03-10T13:05:07Z")

</div>

This comes up with some frequency. A single link that you could share at a conference or on a protected web page, for example, to let many people get logged in quickly would be quite useful.

I made [GitHub - pfaffman/discourse-user-creator: Create an activated user, optionally assigning to group · GitHub](https://github.com/pfaffman/discourse-user-creator), though. You can use it to create accounts that are activated and have passwords assigned and are in a group. You could create them with bogus e mail addresses. That would get people in. They’d then need to change their email address and password, and perhaps their username, which is a fairly complex set of steps

But you can configure a group to let people join freely, so maybe that would solve your problem.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [10 Marzo, 2018 14:57 UTC](https://meta.discourse.org/t/invite-tokens-without-email/82669/3 "2018-03-10T14:57:19Z")

</div>

Hm, thanks for sharing this. But my sense is that it makes things more complicated rather than simpler. It’s much easier to explain: “… and when you’re logged in, you just need to go to groups, find group xyz and click \<whatever it says on the button\>” than making them change emails. And more fail-proof too.

But although that is easier, there are still enough people around for whom “go to groups, find group xyz” constitutes a significant challenge.

> [@pfaffman](#):
>
> This comes up with some frequency.

Couldn’t find any previous topic when I searched earlier… But I’ll convert this topic into a feature request and we’ll see.

> [@pfaffman](#):
>
> A single link that you could share

I didn’t even dare to think beyond the one-token-per-new-user principle, I was still assuming separate tokens for each invitee, but yes, a single token would to the trick for me too.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [10 Marzo, 2018 15:17 UTC](https://meta.discourse.org/t/invite-tokens-without-email/82669/4 "2018-03-10T15:17:55Z")

</div>

> [@Generating lots of Invite Tokens](https://meta.discourse.org/t/generating-lots-of-invite-tokens/17563):
>
> warning This plugin is deprecated in favour of our core invite system. Summary: Generate multiple invite tokens link GitHub: [https://github.com/discourse/discourse-invite-tokens](https://github.com/discourse/discourse-invite-tokens)arrow_right Install: Follow the [plugin installation guide](https://meta.discourse.org/t/install-a-plugin/19157). Configuration Enable plugin After installing plugin enable site setting invite tokens enabled. Clone Discourse API Gem If you already have Git and Ruby installed on your system, you can install Discourse API by running following command from consol…

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [10 Marzo, 2018 16:11 UTC](https://meta.discourse.org/t/invite-tokens-without-email/82669/5 "2018-03-10T16:11:07Z")

</div>

But that requires the invitee’s email address, or am I misunderstanding something:

> [@Generating lots of Invite Tokens](https://meta.discourse.org/t/generating-lots-of-invite-tokens/17563/1):
>
> Replace following fields:
> 
> \*[discourse.example.com](http://discourse.example.com) with the URL of your Discourse instance.  
> \*TOKEN with one of the 200 Invite tokens you just generated.  
> \*EMAIL with the email of user you want to invite
> 
> USERNAME with the desired username of invited user
> 
> NAME with the first name of invited user
> 
> TOPIC with the id of the topic to direct the user to after joining
> 
> (\*) these fields are required!

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [10 Marzo, 2018 16:39 UTC](https://meta.discourse.org/t/invite-tokens-without-email/82669/6 "2018-03-10T16:39:12Z")

</div>

> [@tophee](#):
>
> Hm, thanks for sharing this. But my sense is that it makes things more complicated rather than simpler

Yeah. I think you’re right.

> [@tophee](#):
>
> But although that is easier, there are still enough people around for whom “go to groups, find group xyz” constitutes a significant challenge.

I agree. Perhaps a pinned topic could make the join-a-group process a bit easier, or one that you direct people to the way you’d send the URL that you can’t have.

> [@tophee](#):
>
> Couldn’t find any previous topic when I searched earlier… But I’ll convert this topic into a feature request and we’ll see.

It comes up in different ways, I think, that may make searching difficult. I remember several such topics, but I can’t find them either.

> [@tophee](#):
>
> I didn’t even dare to think beyond the one-token-per-new-user principle,

Plenty of use cases, but the two most obvious ones for me are sharing a link on a Learning Management System or email list to get everyone in a class connected to a particular group in an invite-only forum, and using Discourse for a conference where lots of people might show up to a room and want to get logged in to a shared category in Discourse quickly. It’d be good if it either had a pre-set timeout (I bet invites have that already) or could be disabled easily.

Arguably you could get a mailing list’s user list and create bulk invites, but that’s cumbersome for a normal person and perhaps not everyone on the mailing list wants to play the Discourse game.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [10 Marzo, 2018 17:12 UTC](https://meta.discourse.org/t/invite-tokens-without-email/82669/7 "2018-03-10T17:12:50Z")

</div>

> [@pfaffman](#):
>
> Plenty of use cases, but the two most obvious ones for me are sharing a link on a Learning Management System or email list to get everyone in a class connected to a particular group in an invite-only forum, and using Discourse for a conference where lots of people might show up to a room and want to get logged in to a shared category in Discourse quickly.

Yes, great examples. Another one is a neighbourhood forum where you want to invite people living in a particular area by dropping a note in their letterbox.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [10 Marzo, 2018 17:21 UTC](https://meta.discourse.org/t/invite-tokens-without-email/82669/8 "2018-03-10T17:21:02Z")

</div>

> [@tophee](#):
>
> But that requires the invitee’s email address

Nope, you just hand them over the pre-formatted Invite link and ask them to fill in the email themselves.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [10 Marzo, 2018 18:03 UTC](https://meta.discourse.org/t/invite-tokens-without-email/82669/9 "2018-03-10T18:03:21Z")

</div>

Okay, that could be a workaround for me, though I’m sure some people won’t manage to add their email-address to the url. What happens if you use the url without an email address?

Wouldn’t it make sense to allow users to enter their email on the invitation page just like they can add/modify the username (assuming it works the same way as with ordinary invite links)? If people can modify the email in the url, there isn’t really any reason to make it a required field, is there?

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [3 Junio, 2022 16:45 UTC](https://meta.discourse.org/t/invite-tokens-without-email/82669/11 "2022-06-03T16:45:58Z")

</div>

Los enlaces de invitación de uso múltiple ahora forman parte del núcleo. Consulte [Configuring how users can create and send invites for others to join your community](https://meta.discourse.org/t/how-to-send-configure-and-accept-invites-to-a-discourse-site/124096) para obtener más información.
