From 383c59c33dff2bb84adc7e0dbab02e6a57508d45 Mon Sep 17 00:00:00 2001 From: rustmailer Date: Wed, 13 Aug 2025 13:35:17 +0800 Subject: [PATCH] feat: add quick-fill buttons to prepopulate Gmail and Outlook OAuth2 configuration fields --- .../oauth2/components/action-dialog.tsx | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/web/src/features/oauth2/components/action-dialog.tsx b/web/src/features/oauth2/components/action-dialog.tsx index de31563..06a2bd4 100644 --- a/web/src/features/oauth2/components/action-dialog.tsx +++ b/web/src/features/oauth2/components/action-dialog.tsx @@ -270,6 +270,38 @@ export function ActionDialog({ currentRow, open, onOpenChange }: Props) { Click save when you're done. +
+ + Quick presets: + + + + +
- The URL where users will be redirected after authorization. Must match the URL registered with the OAuth provider. + The redirect URL after authorization. It must match the one registered with the OAuth provider. + Use the format http://[host]:[port]/oauth2/callback (or https://), + where [host] and [port] match your RustMailer deployment. + The path /oauth2/callback is fixed.