[Docs] Add required JWT payload properties to collaboration token endpoint guide
Other - Documentation addition
On the Creating token endpoint guide for collaboration services, under Creating tokens for CKEditor Cloud Services there should be a list of required payload properties.
issiatuserwith the minimum CS needsserviceswithckeditor-collaboration
Whilst that is mostly self explanatory given the purpose of the token to provide permissions and user info, there was one small annoyance in a typical/default implementation using ruby-jwt where iat will not be defined in the payload. This raises an Invalid token error in CK with no detail that it was the missing iat property.
It was a minor hiccup in our implementation, it didn't take much time to identify and fix, but we could spare others the time to figure out the issue in future with this minor addition to the guide.
I couldn't find the repo location of these guides, as I would have happily submitted a PR.
cc @pjasiun @czerwonkabartosz
Actually cc @wwalc, who is the author of this guide.
Added in https://docs.ckeditor.com/cs/latest/guides/token-endpoints/tokenendpoint.html#required-payload-properties. Thanks!