How to create signup from default native app login?

0
Hey there everyone,   I recently started working with Mendix for creating a mobile app and have started to use the blank mobile native app with a login flow. Unfortunately Iam stuck on creating users. Ideally I'd want the admin to be able to create accounts and then users being able to login with those credentials.   Can anyone help me how to design the register flow, I've wacthed videos and read docs but can't figure it out. Thanks in advance!   Screenshot of signin flow: Screenshot of domain model:   Screenshot of login page: The createlogincontext nanoflow is nothing more then creating an empty login object without comitting.
asked
1 answers
1

Hi Wena,

There are two options,

First attach account_overview page on the web navigation give access to this page only admin,

create account and synchronise them.

Then user will be able to login with those credentials.

 

Second logic as an MxAdmin in native App

convert account_overview web page in native & microflow in nanoflow and give the access only to MxAdmin again use upper logic create account & synchronise them then user will be able to logic with those credentials.

 

SingUp Logic :-

take a button SignUp -> show a native page ->

on the page take parameter from account entity from administration module.

Take input like fullName,email,pass,confirmpass etc what you want you can also manage another entity for this for taking mobile number etc like this.

 

on the save button call a nanoflow ,commit the account object & synchronised them then close page.

Then user able to login with signup credentials.

 

Hope you like the answer.

 

 

answered