Use auth header instead of query param for hs->as comms (#1200)

* Use auth header instead of query param for hs->as comms

MSC: https://github.com/matrix-org/matrix-spec-proposals/pull/2832

* Fix for OpenAPI 2
This commit is contained in:
Travis Ralston 2022-08-04 13:33:16 -04:00 committed by GitHub
parent ef384f1afd
commit 6dc7b95e18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 8 deletions

View file

@ -1,4 +1,5 @@
# Copyright 2018 New Vector Ltd
# Copyright 2022 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -13,6 +14,6 @@
# limitations under the License.
homeserverAccessToken:
type: apiKey
description: The `hs_token` provided by the application service's registration.
name: access_token
in: query
name: Authorization
in: header
description: The `Bearer` `hs_token` provided by the application service's registration.