mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-23 18:59:26 -05:00
Rename openid/token to openid/request_token
This commit is contained in:
parent
9c272da05f
commit
573ef3f1c9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user