Move tons of stuff into oldstuff/

This commit is contained in:
2020-06-04 09:54:59 -04:00
parent 49038bb8ef
commit aa1345b6ed
213 changed files with 0 additions and 12 deletions

View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -o errexit
main() {
[[ "${OOM_CLIENT_ID}" ]] || {
echo "Missing \$OOM_CLIENT_ID"
exit 1
}
local url='https://accounts.google.com/o/oauth2/auth'
url="${url}?client_id=${OOM_CLIENT_ID}"
url="${url}&redirect_uri=urn:ietf:wg:oauth:2.0:oob"
url="${url}&scope=https://www.googleapis.com/auth/youtube"
url="${url}&response_type=code&access_type=offline"
echo "${url}"
}
main "$@"