1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

Minor fixes

This commit is contained in:
Quentin Gliech
2022-10-27 17:26:43 +02:00
parent 2d2127dcdb
commit 577d5e4952
2 changed files with 6 additions and 4 deletions

View File

@ -225,9 +225,10 @@ impl TryInto<Client<PostgresqlBackend>> for OAuth2ClientLookup {
_ => return Err(ClientFetchError::BothJwksAndJwksUri),
};
let id = Ulid::from(self.oauth2_client_id);
Ok(Client {
data: self.oauth2_client_id.into(),
client_id: self.oauth2_client_id.to_string(),
data: id,
client_id: id.to_string(),
encrypted_client_secret: self.encrypted_client_secret,
redirect_uris,
response_types,