I'm building a web app that will authenticate users with standard username/password pair, but will also need to authorize access to Dropbox and/or Google Drive to do some background file processing.
I'm using friend to log users in. I wanted to use friend-oauth2 but I don't know how to have different friend
workflows for different URLs.
What I would like to have is:
/users/*
protected withworkflows/interactive-form
/dropbox/*
and/gdrive/*
protected withoauth2/workflow
- Any other URL public
I know how to do points 1 and 3 (with friend/authenticate
and friend/authorize
) but I have no clue how to get #2. Please help.