Created
January 10, 2022 13:50
-
-
Save abdalmoez/cd88d21895b84faa592a3040cc1a28db to your computer and use it in GitHub Desktop.
Convert text to base64url
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -n '{"sub":"RS256inOTA","name":"John Doe"}' | base64 | sed s/\+/-/ | sed -E s/=+$// |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment