Skip to content

feat: jh auth base64 - #12

Closed
pankgeorg wants to merge 1 commit into
mainfrom
pg/base64
Closed

pankgeorg wants to merge 1 commit into
mainfrom
pg/base64

Conversation

@pankgeorg

Copy link
Copy Markdown
Member

Generate and print base64-encoded auth.toml to stdout

./jh auth base64

Save to file

./jh auth base64 > encoded_auth.txt

Use in a pipeline

echo $(./jh auth base64) | some-other-command

The command will automatically:

  • ✅ Refresh the token if it's expired
  • ✅ Generate proper auth.toml content matching Julia's format
  • ✅ Encode to base64
  • ✅ Print to stdout for easy piping/redirection

@lamdor

lamdor commented May 13, 2026

Copy link
Copy Markdown
Member

@pankgeorg Is this still needed?

@pankgeorg

Copy link
Copy Markdown
Member Author

No, I don't even remember who used this. Probably some CI, but it doesn't work on CI because refresh tokens are one-off

@pankgeorg pankgeorg closed this May 13, 2026
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.

2 participants