Only support RS256 for now

This commit is contained in:
Simon Bihel 2022-01-19 13:39:27 +00:00
parent 0a8e7332fc
commit bd3d2e8a1e
No known key found for this signature in database
GPG Key ID: B7013150BEAA28FD

View File

@ -98,7 +98,7 @@ pub fn metadata(base_url: Url) -> Result<CoreProviderMetadata, CustomError> {
ResponseTypes::new(vec![CoreResponseType::Token, CoreResponseType::IdToken]), ResponseTypes::new(vec![CoreResponseType::Token, CoreResponseType::IdToken]),
], ],
vec![CoreSubjectIdentifierType::Pairwise], vec![CoreSubjectIdentifierType::Pairwise],
vec![CoreJwsSigningAlgorithm::RsaSsaPssSha256], vec![CoreJwsSigningAlgorithm::RsaSsaPkcs1V15Sha256],
EmptyAdditionalProviderMetadata {}, EmptyAdditionalProviderMetadata {},
) )
.set_token_endpoint(Some(TokenUrl::from_url( .set_token_endpoint(Some(TokenUrl::from_url(