Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit 6e32add

Browse files
committed
Update redirect URIs when syncing clients from the config
Fixes #3143
1 parent 0713630 commit 6e32add

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/storage-pg/src/oauth2/client.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,7 @@ impl<'c> OAuth2ClientRepository for PgOAuth2ClientRepository<'c> {
574574
ON CONFLICT (oauth2_client_id)
575575
DO
576576
UPDATE SET encrypted_client_secret = EXCLUDED.encrypted_client_secret
577+
, redirect_uris = EXCLUDED.redirect_uris
577578
, grant_type_authorization_code = EXCLUDED.grant_type_authorization_code
578579
, grant_type_refresh_token = EXCLUDED.grant_type_refresh_token
579580
, grant_type_client_credentials = EXCLUDED.grant_type_client_credentials

0 commit comments

Comments
 (0)