Studio Create User without API Key

I was wondering why the Api Key is not generated when a new user is created from the Studio app?
When I create it using a call with the Register request, it is generated.
Is this by design?

It’s because the API Keys are created from the OnRegistered AuthEvent whilst the users created from the Admin Users API only fire the OnCreated event, I’ve updated it so that it also executes the OnRegistered events in this commit which is enabled by default, and can be disabled with:

Plugins.Add(new AdminUsersFeature {
    ExecuteOnRegisteredEventsForCreatedUsers = false

This change is available from v5.11.1 that’s now available on MyGet.

1 Like

Thanks! That is what I call Excellent Support.