0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-31 00:43:56 -05:00

fix: oauth

This commit is contained in:
Daniel Dietzler 2024-10-15 21:38:19 +02:00
parent e57bd94f04
commit bf2f417e9e
No known key found for this signature in database
GPG key ID: A1C0B97CD8E18DFF

View file

@ -188,7 +188,7 @@ export class AuthService extends BaseService {
throw new BadRequestException('OAuth is not enabled');
}
const url = await this.oauthRepository.authorize(oauth, dto.redirectUri);
const url = await this.oauthRepository.authorize(oauth, this.normalize(oauth, dto.redirectUri));
return { url };
}