Clarify access token grammar #625
Labels
A-Client-Server
Issues affecting the CS API
clarification
An area where the expected behaviour is understood, but the spec could do with being more explicit
Currently access tokens are specified according to section 5, which is very similar to RFC6750.
A note clarifies that clients should treat the access token as an opaque byte sequence, but leaves ambiguity with regards to what bytes are actually valid.
Confusingly, RFC6750 specifies that the token should follow the
b64token
grammar, which does not require base64 encoding, but instead is a set of characters defined identically astoken68
specified in RFC7235. By design,token68
includes all base64 encoded strings and URI safe strings.Am I correct in assuming that currently homeservers and clients implicitly follow RFC6750? And if so, I would suggest to make this requirement explicit in the specification.
The text was updated successfully, but these errors were encountered: