Skip to content

Add helper instructions to generate DO token#78

Closed
facutuesca wants to merge 1 commit into
mainfrom
ft/scopes-bookmarklet
Closed

Add helper instructions to generate DO token#78
facutuesca wants to merge 1 commit into
mainfrom
ft/scopes-bookmarklet

Conversation

@facutuesca

Copy link
Copy Markdown

I noticed that the initial config process is a bit painful, since it requires creating a DO token and manually selecting the 23 scopes for it (if one wants to have a minimally scoped token).

I created a bookmarklet that quickly fills the name and the scopes in the DO token creation page, and I put it in an HTML file (along with instructions on how to use it to create the token). The user can choose to see those instructions when running dropkit init. Here's a recording of what it looks like:

Screen.Recording.2026-06-29.at.22.42.26.mov

And once the token is generated, one can go back to the terminal and paste it.

I went with this approach rather than just adding the bookmarklet to the README.md file, because GitHub does not render javascript: links. Hopefully this doesn't add to much friction.

Signed-off-by: Facundo Tuesca <facundo.tuesca@trailofbits.com>
@facutuesca
facutuesca requested a review from ret2libc as a code owner June 29, 2026 20:53
@facutuesca

Copy link
Copy Markdown
Author

closing since asking people to run a bookmarklet on an authenticated page might be fine for an internal tool, but not for a public one.

@facutuesca facutuesca closed this Jul 19, 2026
@facutuesca
facutuesca deleted the ft/scopes-bookmarklet branch July 19, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant