summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-05-05 15:15:00 +0100
committerMark Haines <mark.haines@matrix.org>2016-05-05 15:15:00 +0100
commit573ef3f1c953542693a1784311154d3345caf5c1 (patch)
treefe56d6d34f0d57a707e65a7327b587e81265a951 /synapse
parentAdd an openidish mechanism for proving to third parties that you own a given ... (diff)
downloadsynapse-573ef3f1c953542693a1784311154d3345caf5c1.tar.xz
Rename openid/token to openid/request_token
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/client/v2_alpha/openid.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/openid.py b/synapse/rest/client/v2_alpha/openid.py
index ddea750323..aa1cae8e1e 100644
--- a/synapse/rest/client/v2_alpha/openid.py
+++ b/synapse/rest/client/v2_alpha/openid.py
@@ -42,7 +42,7 @@ class IdTokenServlet(RestServlet):
 
     Request:
 
-    POST /user/{user_id}/openid/token?access_token=... HTTP/1.1
+    POST /user/{user_id}/openid/request_token?access_token=... HTTP/1.1
 
     {}
 
@@ -57,7 +57,7 @@ class IdTokenServlet(RestServlet):
     }
     """
     PATTERNS = client_v2_patterns(
-        "/user/(?P<user_id>[^/]*)/openid/token"
+        "/user/(?P<user_id>[^/]*)/openid/request_token"
     )
 
     EXPIRES_MS = 3600 * 1000