Open Closed

Invite user to login OR have email address domains related to tenancy #5012


User avatar
0
mkinc created
  • ABP Framework version: v7.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Identity server separated

Is there any out of the box solution for any of the following:

Option A:

  1. Admin creates user under a specific tenancy (optionally with user changes password on login)
  2. User is emailed to say an account is created for them including their password.

Option B:

  1. Admin creates user under a specific tenancy (optionally with user changes password on login)
  2. Admin can click a button to invite that user to login to the system.

Option C:

  1. Admin sets up an email address domain for which users can create accounts.
  2. User can self register. If the email address domain used matches a domain relating to a tenant, it allows the registration, otherwise it does not allow the registration.

I did think the flow could be that the user is given a link to the 'Forgot password' page and goes through that flow, but this isn't very professional in my opinion. It seems strange that the out of the box solution is that anybody can create a user under any tenancy.

Thanks!


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Option A: Admin creates user under a specific tenancy (optionally with user changes password on login) User is emailed to say an account is created for them including their password.

    You can easy to do this option.

    Create a user under a specific tenant and mail to the email of the new user.

    https://docs.abp.io/en/abp/latest/Multi-Tenancy#change-the-current-tenant https://docs.abp.io/en/abp/latest/Emailing

    We added User must change password at next login feature on 7.2

  • User Avatar
    0
    mkinc created

    Hi maliming,

    Thanks, we were using 7.1.1. I've upgraded to 7.2.1 and can see the feature which should work in our favour. We'll add some custom code to send the email.

    It would be a great feature to have some sort of 'Invite user' action in user administration area AND 'Invite user' checkbox on user creation as part of the template.

    Cheers,

    Matt

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    : )

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19