From 9a40d7bf47a2be33daca9afd819acd2769ff2bd3 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Tue, 28 Jul 2020 16:02:24 -0400 Subject: [PATCH] Add information from MSC2604: Parameters for Login Fallback to the spec. --- changelogs/client_server/newsfragments/2709.new | 1 + specification/client_server_api.rst | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 changelogs/client_server/newsfragments/2709.new diff --git a/changelogs/client_server/newsfragments/2709.new b/changelogs/client_server/newsfragments/2709.new new file mode 100644 index 00000000..0c6b8ea3 --- /dev/null +++ b/changelogs/client_server/newsfragments/2709.new @@ -0,0 +1 @@ +Document `MSC2604: Parameters for Login Fallback `_. diff --git a/specification/client_server_api.rst b/specification/client_server_api.rst index 9cf0342d..491230a0 100644 --- a/specification/client_server_api.rst +++ b/specification/client_server_api.rst @@ -1096,6 +1096,12 @@ This returns an HTML and JavaScript page which can perform the entire login process. The page will attempt to call the JavaScript function ``window.onLogin`` when login has been successfully completed. +Non-credential related parameters of the login endpoint can be provided as query +parameters, for example the ``device_id`` or ``initial_device_display_name``. +These are to be forwarded to the login endpoint during the login process. + + GET /_matrix/static/client/login/?device_id=GHTYAJCE + .. _Registration: Account registration and management