[PR #631] [MERGED] feat: oatuh2 email key support jsonpath #667

Closed
opened 2026-02-26 21:32:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/631
Author: @dreamhunter2333
Created: 4/12/2025
Status: Merged
Merged: 4/12/2025
Merged by: @dreamhunter2333

Base: mainHead: feature/dev


📝 Commits (1)

  • a742425 feat: oatuh2 email key support jsonpath

📊 Changes

10 files changed (+530 additions, -472 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 frontend/package.json (+2 -2)
📝 frontend/pnpm-lock.yaml (+203 -202)
📝 frontend/src/views/admin/UserOauth2Settings.vue (+1 -1)
📝 pages/package.json (+1 -1)
📝 vitepress-docs/package.json (+2 -2)
📝 vitepress-docs/pnpm-lock.yaml (+141 -141)
📝 worker/package.json (+5 -4)
📝 worker/pnpm-lock.yaml (+154 -114)
📝 worker/src/user_api/oauth2.ts (+20 -5)

📄 Description

PR Type

enhancement, dependencies


Description

  • Added support for JSONPATH in OAuth2 user email key.

  • Updated frontend to reflect JSONPATH support in user email key.

  • Included jsonpath-plus dependency for JSONPATH functionality.

  • Updated changelog to document new feature.


Changes walkthrough 📝

Relevant files
Enhancement
UserOauth2Settings.vue
Update user email key label for JSONPATH support                 

frontend/src/views/admin/UserOauth2Settings.vue

  • Updated label for user email key input to indicate JSONPATH support.
  • +1/-1     
    oauth2.ts
    Implement JSONPATH parsing for user email key                       

    worker/src/user_api/oauth2.ts

  • Added logic to handle JSONPATH in user email key.
  • Imported jsonpath-plus for JSONPATH parsing.
  • +20/-5   
    Documentation
    CHANGELOG.md
    Update changelog for OAuth2 JSONPATH feature                         

    CHANGELOG.md

    • Documented new feature for OAuth2 JSONPATH support.
    +1/-0     
    Dependencies
    package.json
    Add `jsonpath-plus` dependency                                                     

    worker/package.json

    • Added jsonpath-plus dependency.
    +1/-0     
    pnpm-lock.yaml
    Update lockfile for `jsonpath-plus` dependency                     

    worker/pnpm-lock.yaml

    • Added jsonpath-plus and related dependencies.
    +40/-0   

    Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.

  • 🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

    ## 📋 Pull Request Information **Original PR:** https://github.com/dreamhunter2333/cloudflare_temp_email/pull/631 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 4/12/2025 **Status:** ✅ Merged **Merged:** 4/12/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/dev` --- ### 📝 Commits (1) - [`a742425`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/a7424259d0db23f57371a155ec177b083ae56d12) feat: oatuh2 email key support jsonpath ### 📊 Changes **10 files changed** (+530 additions, -472 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `frontend/package.json` (+2 -2) 📝 `frontend/pnpm-lock.yaml` (+203 -202) 📝 `frontend/src/views/admin/UserOauth2Settings.vue` (+1 -1) 📝 `pages/package.json` (+1 -1) 📝 `vitepress-docs/package.json` (+2 -2) 📝 `vitepress-docs/pnpm-lock.yaml` (+141 -141) 📝 `worker/package.json` (+5 -4) 📝 `worker/pnpm-lock.yaml` (+154 -114) 📝 `worker/src/user_api/oauth2.ts` (+20 -5) </details> ### 📄 Description ### **PR Type** enhancement, dependencies ___ ### **Description** - Added support for JSONPATH in OAuth2 user email key. - Updated frontend to reflect JSONPATH support in user email key. - Included `jsonpath-plus` dependency for JSONPATH functionality. - Updated changelog to document new feature. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>UserOauth2Settings.vue</strong><dd><code>Update user email key label for JSONPATH support</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> frontend/src/views/admin/UserOauth2Settings.vue <li>Updated label for user email key input to indicate JSONPATH support. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/631/files#diff-5ded2f107f7fd8a04eb55462a9cb55b85bee3afc56fc45f8ba6a4bcf90755ebb">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>oauth2.ts</strong><dd><code>Implement JSONPATH parsing for user email key</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> worker/src/user_api/oauth2.ts <li>Added logic to handle JSONPATH in user email key.<br> <li> Imported <code>jsonpath-plus</code> for JSONPATH parsing. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/631/files#diff-fede9bc68112c797eefa07c6e6cc20a6aa107addb3e5636757131589a435e13b">+20/-5</a>&nbsp; &nbsp; </td> </tr> </table></td></tr><tr><td><strong>Documentation</strong></td><td><table> <tr> <td> <details> <summary><strong>CHANGELOG.md</strong><dd><code>Update changelog for OAuth2 JSONPATH feature</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> CHANGELOG.md - Documented new feature for OAuth2 JSONPATH support. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/631/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed">+1/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></td></tr><tr><td><strong>Dependencies</strong></td><td><table> <tr> <td> <details> <summary><strong>package.json</strong><dd><code>Add `jsonpath-plus` dependency</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> worker/package.json - Added `jsonpath-plus` dependency. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/631/files#diff-89dc6f41a53ce13f2da5a00dd34868762e6cd0df46eddc9f5c3c4510b1493870">+1/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>pnpm-lock.yaml</strong><dd><code>Update lockfile for `jsonpath-plus` dependency</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> worker/pnpm-lock.yaml - Added `jsonpath-plus` and related dependencies. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/631/files#diff-b40cf923090a5fb5f6cc0d6ce716c560645419d762871abb50383fdb423288c6">+40/-0</a>&nbsp; &nbsp; </td> </tr> </table></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about PR-Agent usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
    kerem 2026-02-26 21:32:18 +03:00
    Sign in to join this conversation.
    No milestone
    No project
    No assignees
    1 participant
    Notifications
    Due date
    The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

    No due date set.

    Dependencies

    No dependencies set.

    Reference
    starred/cloudflare_temp_email#667
    No description provided.