-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encourage appservices to use the Authorization header #1534
Encourage appservices to use the Authorization header #1534
Conversation
This also throws in a mention about how to handle a request with a lack of user_id. The request samples now encourage the use of the header over the query string, and have had their sample values added for some readability. Fixes matrix-org#1296 Fixes matrix-org#1424
@@ -192,22 +192,28 @@ they wish to be acting on behalf of. For real users, this would require | |||
additional permissions granting the AS permission to masquerade as a matrix user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this paragraph (github won't let me comment on the offending line) contains a bunch of "wouldn't it be nice if" words rather than "this is how it is". Likewise there is some "this will happen" below which makes this sound like a proposal rather than a statement of fact.
Could you clarify this while you're in the area?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm otherwise
additional permissions granting the AS permission to masquerade as a matrix user. | ||
every request. To avoid the application service from having to keep track of each | ||
user's access token, the application service should identify itself to the Client-Server | ||
API by providing its ``as_token`` instead for the ``access_token`` alongside the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"instead for" sounds wrong. Just "for", maybe?
* Fix ASCII art alignment Signed-off-by: Michael Kohler <me@michaelkohler.info> Fixes matrix-org#1430 * Add changelog --------- Co-authored-by: Travis Ralston <travpc@gmail.com>
Rendered: see 'docs' status check.
This also throws in a mention about how to handle a request with a lack of user_id.
The request samples now encourage the use of the header over the query string, and have had their sample values added for some readability.
Fixes #1296
Fixes #1424