sign parameter needs to be b64 encoded