Trimming whitespace from client secret input

adding a whitespace trim to the client secret because copy-pasting is hard and whitespace hard to detect in hidden fields. Fixes #5