Skip to content

User creation by invitation #1270

Open
Open

Description

@Rodsevich

We need in our team the approach of inviting users to the system (an admin loads an email that receives an invitation with a token that is used a posteriori for finishing the registration process of the new user). In our preliminary analysis this is not possible ATM with auth_module and we should wether:

  1. Make a PR handling the preliminarUser entity, tools and so on (that after the registration it will be a regular registered user)
  2. Make another module in which we do what we want and then we hook into auth_module
  3. Follow another option that we are not seeing as possible with the state of the art of Serverpod ATM.

Any help or opinion on this will be welcomed. Thanks in advance!

Activity

  1. added
    enhancement
    on Aug 11, 2023
  2. vlidholt commented on Aug 21, 2023

    @vlidholt
    Collaborator

    It would be nice to add this as a built in feature in the auth module.

    It is already possible to do with Serverpod and the auth module as is. However, it requires that you add an extra table for the invitation you send to a user. When someone accepts the invitation, you create the new user and sets up its credentials.

  3. added
    area: authentication
    on Dec 18, 2024
  4. MrFahrenheit-55 commented on Jun 23, 2025

    @MrFahrenheit-55

    Hi @vlidholt , can you please expand on this table if you have the time. I am looking for a method like this while waiting for Auth 2.0 to be launched.

    Thank in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: authenticationenhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions