1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Axum migration: /oauth2/introspection

This commit is contained in:
Quentin Gliech
2022-04-05 08:21:31 +02:00
parent ed49624c3a
commit 0f7484beee
7 changed files with 145 additions and 77 deletions

View File

@@ -90,6 +90,10 @@ where
self::oauth2::userinfo::get,
),
)
.route(
"/oauth2/introspect",
post(self::oauth2::introspection::post),
)
.fallback(mas_static_files::Assets)
.layer(Extension(pool.clone()))
.layer(Extension(templates.clone()))