dpt-github-oauth(1)

✨ dpt-github-oauth ✨

okay so bestie, this is a page from the Debian Perl packaging Tools manual β€” it's dpt-github-oauth(1), and it's literally just here to hand you a GitHub OAuth2 token πŸŽ€


πŸ’– NAME πŸ’–

dpt-github-oauth β€” Generate GitHub OAuth2 token πŸ¦‹


🌸 SYNOPSIS 🌸

dpt github-oauth [note-text]

πŸ‘‘ DESCRIPTION πŸ‘‘

dpt github-oauth is your girl for getting an OAuth2 token so you can authenticate to GitHub services without typing your password on every single request 😭 (imagine). The whole reason this script exists is to let you populate the "DPT_GITHUB_OAUTH" setting in dpt.conf or ~/.config/dpt.conf easily. no cap, that's the vibe πŸ’…

⚠️ Important bestie: you cannot get an OAuth2 token with this script if you have two-factor authentication (2FA) enabled on GitHub. it's giving blocked. periodt πŸ’€

An alternative method for scoring the token is using the GitHub web interface, Applications->Personal Access Tokens 🌈

The token you get with this program is authorized only for reporting issues. that's it, that's the whole scope 🫢

The only supported argument, note-text, is a short note associated with the token. It's literally just there so you can easily tell your different tokens and their purposes apart 🏷️ If you don't specify it, the string "pkg-perl-tools on host $HOSTNAME" is used, where $HOSTNAME is obtained via Sys::Hostname. iconic default behavior, fr fr ✨

The GitHub user name and password are prompted for, and they can't be supplied as command-line options. no passing them in secret, sorry bestie πŸ™ˆ


Copyright 2014 Damyan Ivanov. Copyright 2016 Alex Muntada.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information πŸ“œ


and that's the whole page, bestie πŸ’œ this was dpt-github-oauth(1) from pkg-perl-tools 0.88, dated 2026-04-01 β€” go forth and slay your tokens πŸ‘‘πŸ’…

πŸ“¦ where this page comes from