I am unable to base64url decode the json payload in identity header generated by secsipid.

 

(Using python for test)

decoded_payload = url64.decode(‘payload’)

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 27: invalid continuation byte

 

Header decodes fine this way but not payload.

 

Is this an issue with the payload encoding?

 

Kamailio 5.5

 

Daniel W. Graham, CTO

CMSInter.net LLC

DIRECT (989) 400-4230

 

INTERNET | TELEPHONE | MANAGED IT