OpenID routes

Cherry-picked from https://gitlab.com/famedly/conduit/-/merge_requests/681.

Co-Authored-By: Matthias Ahouansou <matthias@ahouansou.cz>
This commit is contained in:
mikoto 2024-05-28 00:22:11 +02:00 committed by Olivia Lee
parent 6cb7896e17
commit 2e57497bc8
No known key found for this signature in database
GPG key ID: 54D568A15B9CD1F9
11 changed files with 161 additions and 6 deletions

View file

@ -492,6 +492,7 @@ fn client_routes() -> Router {
.ruma_route(c2s::get_room_aliases_route)
.ruma_route(c2s::get_filter_route)
.ruma_route(c2s::create_filter_route)
.ruma_route(c2s::create_openid_token_route)
.ruma_route(c2s::set_global_account_data_route)
.ruma_route(c2s::set_room_account_data_route)
.ruma_route(c2s::get_global_account_data_route)
@ -651,6 +652,7 @@ fn federation_routes(config: &Config) -> Router {
.ruma_route(s2s::get_profile_information_route)
.ruma_route(s2s::get_keys_route)
.ruma_route(s2s::claim_keys_route)
.ruma_route(s2s::get_openid_userinfo_route)
.ruma_route(s2s::media_download_route)
.ruma_route(s2s::media_thumbnail_route)
} else {