Comments
-
If you mean the missing file, are you certain 'C:\Programming\C#\MelisekGameManager\MelisekGameManager\bin\Debug\net6.0-windows\index.html' exists? 🤔 Take a look.
-
Seems improper argument quoting. Space chars are used as a scopes separator, but the same chars are arguments separators too. Try following version: System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo(authorizeUri.ToString()) {UseShellExecute = true}); I believe, now it's gonna work. 😉 Good luck.
-
@"donaldp" wrote:..., but I didn't get a refresh token, only the access token. Is there another parameter or something I need to specify, because I thought I'd done everything I needed to get the refresh token too (for offline processing). ...…
-
@"Watapana" wrote: ... When I check the folder, it's listed as "not shared". The team check shows I'm the owner and see all other members listed. ... Hi @"Watapana", Most probably you have unintentionally unmounted/deleted the folder you are talking about. Just creating a new folder on the same place with the same name…
-
Hi @"Melisek", Are you certain that Windows machine, used as a DUT, has properly set default web browser? 🧐 Try set it anew or change to some other. If no luck yet, test again with a bit changed 'authorizeUri'. Add to following line: @"Melisek" wrote:... ... System.Diagnostics.Process.Start(authorizeUri.ToString()); ...…
-
@"dbox-arg0" wrote:... * I was doing the Dropbox connection via call to chrome.tabs.create({ url: authUrl}), is this intended to be substituted by launchWebAuthFlow()? ... The documentation:You'll use the redirect URL in two places: * supply it when registering your extension as an OAuth2 client. * pass it into…
-
@"Melisek" wrote:... So far everything is going smoothly, but i have no idea how to refresh the token in my app. ... Hi @"Melisek", As far as you have set/constructed your Dropbox client object properly (as shown in all examples - including basic), you wont need to refresh any token explicitly. The client object does take…
-
@"donaldp" wrote:... So does the PKCE URL change each time, or I only need to generate it once? Technically it's possible to be a constant, but as I said before, why are you using PKCE in this case? 🤷 It becomes meaningless and I wouldn't give you such advice.
-
OMG... Documentation:Example: Auth URL for PKCE code flow https://www.dropbox.com/oauth2/authorize?client_id=<APP_KEY>&response_type=code&code_challenge=<CHALLENGE>&code_challenge_method=<METHOD> Be more careful, where you are looking on!
-
Yes, we are talking for different things. @"donaldp", It's correct: @"donaldp" wrote:From https://developers.dropbox.com/oauth-guide - "The redirect_uri is optional with the code flow - if unspecified, the authorization code is displayed on dropbox.com for the user to copy and paste to your app" ... But the following:…
-
@"ariod" wrote:... My understanding per this document is that in this case the search should work on all folders within the user's Dropbox folder, including team folders. Am I correct? In the topic are described different cases. Only one of them is "root" (in spite all use the same header)! In case of properly set root -…
-
🙂 No, no... Take a look here for more info. 😉 Hope this helps.
-
@"mansi2821" wrote:... is there a way i can download these documents You didn't post particular file metadata, but file type, you're referring to, is not usually downloadable, so: Direct download - No. Export - Yes. 😉
-
@"donaldp" wrote:... And the doco states that step is optional, as I already said. ... Probably we are talking for different things. How constructing URL used on launching the browser (where you are getting code) can be optional? You are getting such code every time OAuth is on go, but it's optional... 🤔 Can you clarify…
-
@"donaldp" wrote:... I'm getting the code directly from the browser - I'm not doing it via the app - so this is the first step in the process in the app. There is no redirect. The user gets the code, then comes to the app with it. The doco says that you can do that, hence why the subsequent parameters are all optional.…
-
@"donaldp" wrote:... if (code is object) { PKCEOAuthFlow pKCEFlow=new PKCEOAuthFlow(); ... As can be seen from your post, you are constructing pKCEFlow object anew after you have got the code. How you guarantee that PKCE code challenge, send as part of initial query (targeting the code you have received on redirect), match…
-
Did you properly set the call' root? If not set, the root defaults to logged user' (team member) private folder and everything that can be done (including search) is restricted to there.
-
Hmm... The examples could be better structured (sometime they're even confusing). Ok... as a walk through: You can get the credential info in the same way you have done already, but store it as whole like here (or just get the idea from there about stringification and it's not mandatory to do direct write into a file). You…
-
Hi @"Omri1984", The Dropbox .NET SDK (the one most probably you are interested in) is NOT implemented in a way such thing be possible, unfortunately. Probably coder mistake. You need to "hack" DropboxRequestHandler, to be possible something like (or in the DropboxRequestHandlerOptions part, at least). If you are…
-
Hi @"dbox-arg0", Did you check the loopback variant? Does it work or not? 🧐 Good luck.
-
Hi again @"YousefElsayed", I would suggest usage of more descriptive var names to avoid different types of confusion. What actually means "DROPBOX_AUTH_KEY" here (for instance)? 🧐 Is it access token or refresh token??? 🤔 According to: @"YousefElsayed" wrote:... Auth.getDbxCredential().getRefreshToken(); ... It should be…
-
Without proper diagnostics becomes difficult to say what exactly is going on. Supported ways to install the application are shown here. On Ubuntu (and similar distributions) the classic way is to use deb package (if you are using 64-bit distribution download it from here). Better uninstall whatever you have installed…
-
Hi @"skybird182", First of all, Dropbox application is NOT designed to work as a system service (this is not a part of the application install - not supported at least). It's a regular client application and can be run as such (the only supported way). Of course you (or some other third party provider) can extend this…
-
Hi @"rodwoman", Try an "alternative" way. May help to you. Select and hold (for a second or two) on the file you want to export/download (not just a touch). The file will get selected; here you can select more files, if you want to do it at once. Next, select the ellipsis (three dots) at upper-right corner on the screen.…
-
@"mansi2821" wrote:is there any updates i am facing the same issue Hi @"mansi2821", What you mean "the same issue"? 🤔 Have you meet some file you can neither export nor download? What is this file type, if any, and what you are seeing on the corresponding metadata (is the file marked as downloadable there)? 🧐
-
Hi @"BurkApps", Seems for some reason a secure connection can't be established. There are different possibility, but one option is that your code is running on environment not supporting TLSv1.2 - Dropbox servers accept currently only TLSv1.2. Check this at the beginning. One more thing is usage of long lived token in your…
-
Hmm...🤔 So, where you instantiated your client object, actually. Such an error should be on instantiation, but that part of the code is missing (it's not in the post)! Whatever you have done, seems it's far from the optimal. The main part should be DbxCredential class object (without focus on its parts - they can change…
-
Hi @"YousefElsayed", If you mean long lived access token, No - this type of token is deprecated and, inspite existing can still be used, new can't be issue anymore. You can use refresh token instead. It doesn't expire. 😉 Hope this helps.
-
Documentation:List shared links of this user. If no path is given, returns a list of all shared links for the current user. For members of business teams using team space and member folders, returns all shared links in the team member's home folder unless the team space ID is specified in the request header. Have you…
-
Easy workaround can be a parallel instantiation of DropboxRequestHandler class. Big part of the stuff inside, not closely related to refreshing, can be wipe out. Classes, fields and methods visibility should be changed, so be accessible outside. Using RefreshAccessToken method (already public) new/actual refresh token will…