handles both JWS (3 segments) and JWE (5 segments)
remove the ending (?:(?:... to handle JWS only
segments 1+2 are expected tp start with e[yw], an encoded start of JSON object {" or {\n
remove/extend it to match used token structure
or make it even more restrictive (ey[IJ]|ewo) to match encod...
Submitted by iki - 7 months ago (Last modified 6 months ago)