how create multiple users in a phoenix app using gen auth

i want to use phx.gen.auth for authentication.
And i want to enable a user of an app (admin) after registration to be able to create accounts for other users the way a company sets multiple accounts for employees of an app so that they can access the same resources.

How could one achieve this using phx.gen.auth and bodyguard?

mix phx.gen.auth should give you many of the necessary building blocks, but you’ll need to build the additional functionality on your own. That’s exactly why mix phx.gen.auth is a generator instead of a library – people likely need additional functionality and they’re in full control over the generated code and can adjust it as needed.

1 Like