Skip to content

309 task add email application setup step in thunder#312

Merged
maneeshaxyz merged 5 commits intoLSFLK:mainfrom
Aravinda-HWK:309-task-add-email-application-setup-step-in-thunder
Mar 29, 2026
Merged

309 task add email application setup step in thunder#312
maneeshaxyz merged 5 commits intoLSFLK:mainfrom
Aravinda-HWK:309-task-add-email-application-setup-step-in-thunder

Conversation

@Aravinda-HWK
Copy link
Copy Markdown
Collaborator

📌 Description

Add a script to create an application(Email App) in Thunder for enabling Oauth2 login in Thunderbird.


🔍 Changes Made

  • Update sample resource application in Thunder setup for creating Email App in Thunder
  • Update thegen-raven-config.sh file to update the raven.yaml config for oauth2.
  • Fix the adding empty line to delivery.yaml after each running of gen-raven-config.sh file

✅ Checklist (Email System)

  • Core services tested (SMTP, IMAP, mail storage, end-to-end delivery)
  • Security & compliance verified (auth via Thunder IDP, TLS, DKIM/SPF/DMARC, spam/virus filtering)
  • Configuration & deployment checked (configs generated, Docker/Compose updated)
  • Reliability confirmed (error handling, logging, monitoring)
  • Documentation & usage notes updated (README, deployment, API)

🧪 Testing Instructions


📷 Screenshots / Logs (if applicable)


⚠️ Notes for Reviewers

@Aravinda-HWK Aravinda-HWK self-assigned this Mar 26, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces the necessary infrastructure to enable OAuth2 authentication for email clients integrating with the Thunder identity provider. It achieves this by automating the creation of a dedicated "Email App" in Thunder with appropriate OAuth2 settings and by updating the Raven mail server configuration to support OAuth2 token validation. Additionally, a minor bug in the configuration generation script related to delivery.yaml formatting was addressed.

Highlights

  • Email App Setup: A new script was added to automatically create an "Email App" within the Thunder identity provider, specifically configured for OAuth2 authentication.
  • OAuth2 Configuration for Raven: The gen-raven-config.sh script was updated to inject necessary OAuth2 token validation parameters into the raven.yaml configuration.
  • Delivery YAML Update Fix: An issue causing extraneous empty lines to be added to delivery.yaml during the blob_storage section update was resolved.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new script to automate the creation of a Single-Page Application (SPA) resource with OAuth2 configuration and updates the gen-raven-conf.sh script to include OAuth2 token validation settings and improve the blob_storage configuration update logic. Feedback highlights a high-severity issue where extra quotes are incorrectly added to S3 configuration values in gen-raven-conf.sh, potentially leading to connection failures. Additionally, there's a medium-severity concern regarding the timeout value being written as a string instead of a number in the same script, which could cause application issues. A medium-severity improvement opportunity was also identified in the SPA creation script to refactor duplicated JSON extraction logic into a more generic helper function.

Copy link
Copy Markdown
Member

@maneeshaxyz maneeshaxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@maneeshaxyz maneeshaxyz merged commit c1d018d into LSFLK:main Mar 29, 2026
6 checks passed
Aravinda-HWK added a commit to Aravinda-HWK/silver that referenced this pull request Mar 31, 2026
* Add email application setup step in Thunder script

* Fix formatting of redirect URIs in SPA application setup

* Add OAUTHBEARER token validation configuration to raven.yaml generation

* Refactor blob_storage section update in delivery.yaml for improved clarity and maintainability

* Refactor JSON extraction functions in 02-sample-resources.sh for improved reusability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TASK] Add Email Application Setup Step in Thunder

2 participants