Hi
I'm following the example PHP for authentication - no problem.
- you create a link for them to go to DropBox page
- They "allow" and are given a authorization code
- they paste that into your awaiting code
- you can the call : list($accessToken, $dropboxUserId) = $webAuth->finish($authCode);
to obtain $accessToken.
BUT if the user DOES NOT authenticate and obtain a valid authorisation code from the dropbox page -
and they paste junk into your code AND you then call the above list(....
DropBox does not return at all and a blank screen is displayed.
I've tried everything to detect that it's OK to make the call - but can't find anything that would indicate $authCode is not genuine and a crash will follow.
Any ideas....???
Thanks