1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-31 09:24:31 +03:00

Allow access token types in introspection auth methods

This commit is contained in:
Kévin Commaille
2022-09-14 18:08:44 +02:00
committed by Quentin Gliech
parent 26681b36fc
commit 1bbd2c2970
2 changed files with 67 additions and 6 deletions

View File

@ -75,7 +75,8 @@ pub(crate) async fn get(
let token_endpoint_auth_signing_alg_values_supported =
client_auth_signing_alg_values_supported.clone();
let introspection_endpoint_auth_methods_supported = client_auth_methods_supported;
let introspection_endpoint_auth_methods_supported =
client_auth_methods_supported.map(|v| v.into_iter().map(Into::into).collect());
let introspection_endpoint_auth_signing_alg_values_supported =
client_auth_signing_alg_values_supported;