mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-10-23 13:03:35 +00:00
Properly advertise all the supported JWT verification algorithms
This commit is contained in:
1 parent
fca6cfa393
commit
6cff677550
1 file changed
+7
@@ -42,6 +42,7 @@ pub(crate) async fn get(
|
||||
OAuthClientAuthenticationMethod::None,
|
||||
]);
|
||||
|
||||
// Those are the algorithms supported by `mas-jose`
|
||||
let client_auth_signing_alg_values_supported = Some(vec![
|
||||
JsonWebSignatureAlg::Hs256,
|
||||
JsonWebSignatureAlg::Hs384,
|
||||
@@ -49,6 +50,12 @@ pub(crate) async fn get(
|
||||
JsonWebSignatureAlg::Rs256,
|
||||
JsonWebSignatureAlg::Rs384,
|
||||
JsonWebSignatureAlg::Rs512,
|
||||
JsonWebSignatureAlg::Ps256,
|
||||
JsonWebSignatureAlg::Ps384,
|
||||
JsonWebSignatureAlg::Ps512,
|
||||
JsonWebSignatureAlg::Es256,
|
||||
JsonWebSignatureAlg::Es384,
|
||||
JsonWebSignatureAlg::Es256K,
|
||||
]);
|
||||
|
||||
// This is how we can sign stuff
|
||||
|
||||
Reference in new issue
Block a user