diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-05-05 15:15:00 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-05-05 15:15:00 +0100 |
commit | 573ef3f1c953542693a1784311154d3345caf5c1 (patch) | |
tree | fe56d6d34f0d57a707e65a7327b587e81265a951 /synapse | |
parent | Add an openidish mechanism for proving to third parties that you own a given ... (diff) | |
download | synapse-573ef3f1c953542693a1784311154d3345caf5c1.tar.xz |
Rename openid/token to openid/request_token
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/client/v2_alpha/openid.py | 4 |
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 |