Skip to content

Instantly share code, notes, and snippets.

@MuhammadQuran17
Created August 4, 2026 06:15
Show Gist options
  • Select an option

  • Save MuhammadQuran17/7fd8bdac169fd5e2aea0004c8b1eca2a to your computer and use it in GitHub Desktop.

Select an option

Save MuhammadQuran17/7fd8bdac169fd5e2aea0004c8b1eca2a to your computer and use it in GitHub Desktop.
My mistakes

Didn't notice

Curl Ugly output

I didn't pay attention to curl output and didn't see that it contains the IdToken key. I got every and each line of curl ugly output as Access Token but it has other keys also. Because it was in one-line and unformatted I didn't catch.

Solution:

curl -s https://github.com | jq

or

curl -s https://github.com | python3 -m json.tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment