You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use bundled personal app key for login without prompting
Personal login now uses the bundled PKCE-enabled app key directly
instead of asking users to register their own Dropbox app. Team
access and team manage logins still prompt for a custom app key
when using bundled defaults.
Copy file name to clipboardExpand all lines: README.md
+5-9Lines changed: 5 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,11 +54,8 @@ For newcomers the go build process can be a bit arcane, these steps can be follo
54
54
3.`go get github.com/dropbox/dbxcli`. That's right, you don't manually clone it, this does it for you.
55
55
4.`cd ~/go/src/github.com/dropbox/dbxcli` (adapt accordingly based on step 2).
56
56
57
-
Now we need to pause for a second to get development keys.
58
-
59
-
5. Head to `https://www.dropbox.com/developers/apps` (sign in if necessary) and choose "Create app". Use the Dropbox API and give it Full Dropbox access. Name and create the app.
60
-
6. You'll be presented with a dashboard with an "App key".
61
-
7. Provide the app key when running `dbxcli`:
57
+
To use your own Dropbox app while developing, provide its app key when running
58
+
`dbxcli`:
62
59
```sh
63
60
$ export DROPBOX_PERSONAL_APP_KEY=your-app-key
64
61
```
@@ -116,15 +113,14 @@ $ dbxcli login
116
113
Commands require saved credentials. If no saved credentials are available, run
117
114
`dbxcli login` first or provide a token with `DBXCLI_ACCESS_TOKEN`.
118
115
119
-
If the bundled app credentials are still in use, `dbxcli` asks for your Dropbox
120
-
app key before printing the authorization URL. You can pass the app key as an
121
-
option:
116
+
Personal login uses the bundled Dropbox app key by default. You can pass a
117
+
custom app key as an option:
122
118
123
119
```sh
124
120
$ dbxcli login --app-key=your-app-key
125
121
```
126
122
127
-
You can also set it with an environment variable to skip the prompt:
0 commit comments