Quantcast
Channel: DreamFactory Forum - Latest topics
Viewing all articles
Browse latest Browse all 1523

Recommended workflow

$
0
0

@Gavin_Beard wrote:

Hi all,

I am hoping to use Dreamfactory as the back end to a new app I am working on (rather than using a flat MySql setup with PHP files to interface with it).

What I am looking for is a workflow such as this:

  • User registers in app
  • User receives mail with activation link
  • User can now log in and out of the app
  • User can read data into the app from web service

All of these things seem straight forward, but somethings I am finding confusing:

  • When registering a user in my app, would you recommend using /api/v2/user/register ? I ask this because although this seems to work, it sends a link to the users email address with a link to my Dreamfactory instance where they need to fill in their details again? I was hoping it would just be a link that they clicked on to activate their account without the need to fill anything else in. if this is the only behavior available does it have to be a Dreamfactory branded page that get directed to, can I use a custom page at all? this is the same for password resets too

  • Is it possible to tie dreamfactory into the mobile version of Facebook for FB registration / login? I've setup the OAuth part just fine but it seems to insist on opening a web page to authorize the user.

  • Does registering a user via /api/v2/user/register always give the user access to the Dreamfactory dashboard? is there a way to grant them only access to an individual app and nothing else? for instance, I registered a test user today and it automatically game them a role for admin, api_docs, file_manager and my app?

sorry if this doesnt all make sense, still trying to get my head around it.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1523

Trending Articles