Skip to content

Commit 9a40d7b

Browse files
committed
Add information from MSC2604: Parameters for Login Fallback to the spec.
1 parent 012f0b1 commit 9a40d7b

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+
Document `MSC2604: Parameters for Login Fallback <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 related parameters of the login endpoint can be provided as query
1100+
parameters, for example the ``device_id`` or ``initial_device_display_name``.
1101+
These are to be forwarded to the login endpoint during the login process.
1102+
1103+
GET /_matrix/static/client/login/?device_id=GHTYAJCE
1104+
10991105
.. _Registration:
11001106

11011107
Account registration and management

0 commit comments

Comments
 (0)