Strange error of " Signature is invalid"

you should first try, if your client id and client secret is working

you should try connect with role = 0 (attendee) and with role = 1 (host)

and here more infos for troubleshooting signature