Forum Discussion

gurpreet31's avatar
gurpreet31
Occasional Contributor
2 years ago

Convert Base64 token to Base64URL in groovy script

Do we have a script/way to convert Base64 token to Base64URL in groovy script?

I achieved it by replacing all + with -, / with _ and removing all =, but this doesn't look like a good way to do the same.

Thanks in advance for the help.
No RepliesBe the first to reply