Create first user


#1

Hy

How to create first user? my application will initially have no user created … looking in the documentation you need to use the session-token to create a user, but in that case I would have to log in to create one.

So I have no user created, is there a way to create the first user of the application via REST?

A way to use with first login when the application is installed.


#2

To create a user you just need an API Key to post to the user/register endpoint. This endpoint does not require a sessiontoken.

To get an API Key you need to create an app from the Dreamfactory admin ‘Apps’ tab.

Here you might get your answers.