Comments
-
Thanks Greg. Indeed it was working fine up until about a month ago when a lot got changed in the dev environment all at once. I upgraded the dev tool from v9 to 10, I upgraded Xcode, the SDK and possibly other bits as well. It's going to be a challenge since I didn't record any dates for changes so just strictly going from…
-
One final question on this. Does anyone know when DB made the switch to TLS 1.2? That would help narrow this down as I know when it started happening. Thanks
-
Thanks all. I will investigate which version of TLS is being used. Thanks for your helpful advice. Mark
-
Hi Greg, the response came, and quicker than I was expecting. Also very DIFFERENT than I expected. We had previously been discussing the recommendation in the DB documentation: curl https://api.dropbox.com/oauth2/token \ -d grant_type=refresh_token \ -d refresh_token=<REFRESH_TOKEN> \ -u <APP_KEY>:<APP_SECRET> But the…
-
Thanks Greg, but I would nix that. After looking at your post and the documentation again I realized that the LiveCode commands: put "offline" into tParams["token_access_type"] OAuth2 kAuthURL, kTokenURL, kClientID, kClientSecret, kScopes, kPort, tParams must be doing both a GET and a POST (the GET for authorization, and…
-
Thanks Greg, You know, I was thinking, what a shame Dropbox did not implement the refresh exchange process using the GET method. I am sure, since I have the ability to add additional parameters, that I could define a grant_type = "refresh_token" and a refresh_token parameter that contains the refresh token, and send that…
-
Thanks Greg, you have confirmed what I was suspecting. In order to covert the refresh token to a new sl.access token a new kind of method needs to be used (POST) which does not appear to be supported in the current version of the OAuth2 package I am using. I will prepare something to pass along to LiveCode so they can…
-
"Is that the exact code you're running?" No, not exactly. I am using an OAuth2 package in the application development environment (it's like a fancy Visual BASIC) I am using. To get the refresh_token I was using this code (with redactions): constant kAuthURL = "https://www.dropbox.com/oauth2/authorize" constant kTokenURL =…
-
Well, as indicated in my previous response I have been "giving this a go" but with only partial success. When I send my app key, app secret, scopes, port and “offline” to https://www.dropbox.com/oauth2/authorize I get back the following: Array .. [account_id] => dbid:AAB27TU-12HrF0rn…. .. [refresh_token] =>…
-
Thanks on that point. I wasn't aware of any other sign-ins going on at the same time. But it's possible since I am on multiple devices and testing from multiple versions of the same app on each. Somewhere in there DB probably sees me as already signed in. That does explain the occasional unusual token hand-off. Appreciate…
-
BTW, is it possible to get biometric recognition for the Dropbox user authentication (facial or fingerprint) rather than monotonously type in your username and password (ie. I hate giving out my facebook or google account information, and I presume many other are too. It just ends up in someone's email list that bombs you…
-
I see. Thanks
-
Sorry, error in my last post. Where I said "I could find a reference to long lived access tokens" I meant to say "I could NOT find a reference to long lived access tokens". Sorry for any confusions. My whole point is I cannot find this reference to a long lived access token in my app settings. Thanks
-
I see in the documentation it says this "If the <token_access_type> is omitted, the response will default to returning a long-lived access_token if they are allowed in the app console. If long-lived access tokens are disabled in the app console, this parameter defaults to online". When I looked in the app console I could…
-
Thanks. Great answer, and very reassuring. I will give it a go.
-
I have been using the long lived access token you can request when you setup your app, and have that embedded in my app. I use it to send a "synchronizing" file to DB whenever I make changes. I don't need to re-authenticate. My question is, if I know allow users to do the same thing, they will need to authenticate and I…