Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Rename openid/token to openid/request_token
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Haines committed May 5, 2016
1 parent 9c272da commit 573ef3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/rest/client/v2_alpha/openid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
{}
Expand All @@ -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
Expand Down

0 comments on commit 573ef3f

Please sign in to comment.