I’m trying to implement invitation workflow using organisations.
For now I successfully did it.
But I need to enable signup for all user to allow invited user to register properly.
Is there a way to enable sign ups only for invited users?
“You can just rely on the fact that signups in Auth0 can be disabled entirely, then you can create a user and invite them via the invite only flow instead of the orgs invite flow and grant them membership”
Yep that’s what I meant. I know it can look like a workaround but that’s actually the flow we recommend for invites. That’s also what Organisations team suggested here.
Hello Konrad,
Will there be the possibility to have the sign-up via organization decorrelated from the general sign-up in a more or less near future ?
Your solution is a workaround, it’s not normal that we have to make this kind of development for a solution as important (and expensive) as Auth0.
I know the organization feature is a new feature and will be enhanced in the future, but we don’t have a clear roadmap on this and it clearly looks like a necessity in a B2B context.
The invite-only flow can be achieved with Organizations with an easier workaround in case you don’t want to follow our general invite-only flow:
You could pre-create the account for the user before inviting them with a random password (in case of a database connection) and then invite them via the Organizations invite flow as usual so they can just reset their password instead of creating a new account. This will avoid later some Management API calls to assign the user to the right organization, assign roles, etc. You just need to create an account and then communicate the user to reset their password when accepting the invitation.
Hello Ale,
Thanks for the answer.
From what I understand, this is still not a consistent invite flow for our users. Since there is no solution that can be used simply with Auth0, we were planning to use your invite-flow by hijacking the display of the password change page and then assigning the user to the organization without sending them an invite email for the organization.
Will the user be correctly added to the organization if we do this?