fusio icon indicating copy to clipboard operation
fusio copied to clipboard

Multiple applications & user management

Open mrahmadt opened this issue 7 years ago • 1 comments

Hi

First I want to thank you for this great tool.

I want to get your feedback about my plan and to see if I’m doing it right

I want to build a mobile apps(iOS,Android) and web portal where anyone can signup & login to manage his assets.

I think fusio is definitely the right tool to manage the backend processing for the users requests

My question is how can I allow the user (from mobile app or portal) to signup by filling a signup form and post this to api where this api will contain business logic (insert database, email...) and also create a consumer login for him that will be used internally to request api in the app and portal ?

Is my approach make sense?

mrahmadt avatar Oct 20 '18 19:10 mrahmadt

Hi, thanks for the feedback, so regarding the sign up you can basically build the sign up form at your iOS/Android app and also at your web portal. Then you only need to call the internal Fusio endpoint to register the user, which then also sends a confirmation mail to the user, please take a look at the internal api: http://demo.fusio-project.org/internal/#!/api/consumer/register

I.e. we have build a sign up also for the developer app where user can register: https://demo.fusio-project.org/developer/signup

In the same way you can also use the consumer/login endpoint to create the login of your app. The login simply returns a token which you can then use to call your API endpoints.

chriskapp avatar Oct 20 '18 19:10 chriskapp