Closed ThomasBri closed 6 years ago
@ThomasBri @marcellom what if the servicetoken contains a space? is it possible?
@lorenzotomasini No, it should not be possible. The key is created like this:
RandomStringGenerator generator = new RandomStringGenerator.Builder().withinRange('A', 'z').build(); return generator.generate(16);
I tested it for a few thousand keys and they never contained a whitespace.
Copying the key may result in additional new line characters or white spaces due to which the service registration can fail.