Skip to content

Commit 8eb1c53

Browse files
committed
Merge branch 'clokep/login-fallback-changes'
2 parents 5c0f999 + d41ad76 commit 8eb1c53

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add a ``device_id`` parameter to login fallback per `MSC2604 <https://github.com/matrix-org/matrix-doc/pull/2604>`_.

specification/client_server_api.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,6 +1096,12 @@ This returns an HTML and JavaScript page which can perform the entire login
10961096
process. The page will attempt to call the JavaScript function
10971097
``window.onLogin`` when login has been successfully completed.
10981098

1099+
Non-credential parameters valid for the ``/login`` endpoint can be provided as query
1100+
string parameters here. These are to be forwarded to the login endpoint during the login
1101+
process. For example::
1102+
1103+
GET /_matrix/static/client/login/?device_id=GHTYAJCE
1104+
10991105
.. _Registration:
11001106

11011107
Account registration and management

0 commit comments

Comments
 (0)